Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for Hdrlen (0.12 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/counter/parse.go

    		Count: make(map[string]uint64),
    	}
    	np := round(len(hdrPrefix), 4)
    	hdrLen := *(*uint32)(unsafe.Pointer(&data[np]))
    	if hdrLen > pageSize {
    		return corrupt()
    	}
    	meta := data[np+4 : hdrLen]
    	if i := bytes.IndexByte(meta, 0); i >= 0 {
    		meta = meta[:i]
    	}
    	m := &mappedFile{
    		meta:    string(meta),
    		hdrLen:  hdrLen,
    		mapping: &mmap.Data{Data: data},
    	}
    
    	lines := strings.Split(m.meta, "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 14:38:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    		if mf == nil {
    			// telemetry might have been off
    			return
    		}
    		mf.close()
    	}
    }
    
    // A mappedFile is a counter file mmapped into memory.
    type mappedFile struct {
    	meta      string
    	hdrLen    uint32
    	zero      [4]byte
    	closeOnce sync.Once
    	f         *os.File
    	mapping   *mmap.Data
    }
    
    // existing should be nil the first time this is called for a file,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"IfAnnounceMsghdr", Type, 1},
    		{"IfAnnounceMsghdr.Hdrlen", Field, 2},
    		{"IfAnnounceMsghdr.Index", Field, 1},
    		{"IfAnnounceMsghdr.Msglen", Field, 1},
    		{"IfAnnounceMsghdr.Name", Field, 1},
    		{"IfAnnounceMsghdr.Type", Field, 1},
    		{"IfAnnounceMsghdr.Version", Field, 1},
    		{"IfAnnounceMsghdr.What", Field, 1},
    		{"IfData", Type, 0},
    		{"IfData.Addrlen", Field, 0},
    		{"IfData.Baudrate", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    //sys	GetUserProfileDirectory(t Token, dir *uint16, dirLen *uint32) (err error) = userenv.GetUserProfileDirectoryW
    //sys	getSystemDirectory(dir *uint16, dirLen uint32) (len uint32, err error) = kernel32.GetSystemDirectoryW
    //sys	getWindowsDirectory(dir *uint16, dirLen uint32) (len uint32, err error) = kernel32.GetWindowsDirectoryW
    //sys	getSystemWindowsDirectory(dir *uint16, dirLen uint32) (len uint32, err error) = kernel32.GetSystemWindowsDirectoryW
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  5. src/syscall/syscall_solaris.go

    	}
    	return err
    }
    
    //sys   accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) = libsocket.accept4
    
    func Accept4(fd int, flags int) (int, Sockaddr, error) {
    	var rsa RawSockaddrAny
    	var addrlen _Socklen = SizeofSockaddrAny
    	nfd, err := accept4(fd, &rsa, &addrlen, flags)
    	if err != nil {
    		return 0, nil, err
    	}
    	if addrlen > SizeofSockaddrAny {
    		panic("RawSockaddrAny too small")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. tensorflow/c/c_test.c

        return 1;
      }
    
      char file_name[100];
      time_t t = time(NULL);
      snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t);
    
      size_t length = 2 + strlen(path) + strlen(file_name);
      char* full_path = malloc(length);
      snprintf(full_path, length, "%s/%s", path, file_name);
    
      TF_WritableFileHandle* h;
      TF_Status* status = TF_NewStatus();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. src/crypto/internal/boring/aes.go

    							  size_t exp_out_len,
    							  const uint8_t *nonce, size_t nonce_len,
    							  const uint8_t *in, size_t in_len,
    							  const uint8_t *ad, size_t ad_len) {
    	size_t out_len;
    	int ok = _goboringcrypto_EVP_AEAD_CTX_seal(ctx, out, &out_len, exp_out_len,
    		nonce, nonce_len, in, in_len, ad, ad_len);
    	if (out_len != exp_out_len) {
    		return 0;
    	}
    	return ok;
    };
    
    int EVP_AEAD_CTX_open_wrapper(const GO_EVP_AEAD_CTX *ctx, uint8_t *out,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_openbsd_arm.go

    //go:cgo_import_dynamic libc_wait4 wait4 "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
    	r0, _, e1 := syscall(abi.FuncPCABI0(libc_accept_trampoline), uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
    	fd = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_accept_trampoline()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  9. src/runtime/memmove_test.go

    	}
    
    	for _, t := range benchSizes {
    		total := 0
    		minLen := 0
    		maxLen := 0
    
    		for _, clrLen := range t.data {
    			maxLen = max(maxLen, clrLen)
    			if clrLen < minLen || minLen == 0 {
    				minLen = clrLen
    			}
    			total += clrLen
    		}
    		buffer := make([]byte, maxLen)
    
    		text := ""
    		if minLen >= (1 << 20) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:12 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_openbsd_386.go

    //go:cgo_import_dynamic libc_wait4 wait4 "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
    	r0, _, e1 := syscall(abi.FuncPCABI0(libc_accept_trampoline), uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
    	fd = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_accept_trampoline()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
Back to top