是否有bash命令,程序或libusb函数(虽然我没有找到),它指示我是什么是usb设备的OUT或IN端点?
例如,libusb_interface_descriptor的bNumEndpoints(来自libusb1.0库)显示我的usb驱动器有3个端点,但我怎么知道它们的idnumber是多少?
我最近在Github上创建了我的第一个gi存储库,我使用http://git-scm.com/documentation仔细克隆它没有问题.我发现互联网上没有人有同样的问题.我尝试了两个不同版本的Git:第一个1.7.9.5(来自apt-get),然后是1.8.1-rc2(来自源代码),但最终还是回到1.7.9.5(来自apt-get).我试过HTTP和SSH(使用https://help.github.com/articles/generating-ssh-keys)
使用push through HTTPS(git 1.7.9.5)时得到的结果:
**$ git push https://github.com/Vulpo/PR3003-2012.git master**
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-lsOUEX/pkcs11: No such file or directory
Username for 'https://github.com': Vulpo
Password for 'https://Vulpo@github.com':
error: RPC failed; result=56, HTTP code = 0
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
Run Code Online (Sandbox Code Playgroud)
并使用SSH(git 1.7.9.5):
**$ git push git@github.com:Vulpo/myproject.git master**
Enter passphrase for key '/home/Vulpo/.ssh/id_rsa':
Counting objects: 19, done.
Delta compression using up to 2 threads.
Compressing …Run Code Online (Sandbox Code Playgroud) 当我尝试在C中使用_mm_load_si128进行内在函数时,我遇到了分段错误.我看到数据必须是16位对齐,并且联合正确地执行此操作.但这并不能解决我的问题.
#include <xmmintrin.h>
int main(void){
const int N = 8;
short int matrice1[] = {
10, 11, 12, 13, 14, 15, 16, 17,
20, 21, 22, 23, 24, 25, 26, 27,
30, 31, 32, 33, 34, 35, 36, 37,
40, 41, 42, 43, 44, 45, 46, 47,
50, 51, 52, 53, 54, 55, 56, 57,
60, 61, 62, 63, 64, 65, 66, 67,
70, 71, 72, 73, 74, 75, 76, 77,
80, 81, 82, 83, 84, 85, 86, 87
}; …Run Code Online (Sandbox Code Playgroud)