Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,204 for gbyte (0.08 sec)

  1. src/runtime/memmove_test.go

    		{"4byte", 4, func(buf []byte) uint64 { return uint64(binary.LittleEndian.Uint32(buf)) }},
    		{"8byte", 8, func(buf []byte) uint64 { return binary.LittleEndian.Uint64(buf) }},
    	}
    
    	var g [4096]byte
    	for _, bm := range benchmarks {
    		buf := make([]byte, bm.nbyte)
    		b.Run(bm.name, func(b *testing.B) {
    			for j := 0; j < b.N; j++ {
    				for i := 0; i < 4096; i += bm.nbyte {
    					copy(buf[:], g[i:])
    					sink += bm.f(buf[:])
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:12 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_ppc64.go

    	SYS_READ           = 3   // { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
    	SYS_WRITE          = 4   // { ssize_t sys_write(int fd, const void *buf, size_t nbyte); }
    	SYS_OPEN           = 5   // { int sys_open(const char *path, int flags, ... mode_t mode); }
    	SYS_CLOSE          = 6   // { int sys_close(int fd); }
    	SYS_GETENTROPY     = 7   // { int sys_getentropy(void *buf, size_t nbyte); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    // be used to recombine characters.  Note that the byte buffer does not hold
    // the UTF-8 characters in order.  Only the rune array is maintained in sorted
    // order. flush writes the resulting segment to a byte array.
    type reorderBuffer struct {
    	rune  [maxBufferSize]Properties // Per character info.
    	byte  [maxByteBufferSize]byte   // UTF-8 buffer. Referenced by runeInfo.pos.
    	nbyte uint8                     // Number or bytes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        Arrays.fill(b, (byte) 0);
        ByteStreams.readFully(newTestStream(10), b, 0, 0);
        assertThat(b).isEqualTo(new byte[10]);
    
        Arrays.fill(b, (byte) 0);
        ByteStreams.readFully(newTestStream(10), b, 0, 10);
        assertThat(b).isEqualTo(newPreFilledByteArray(10));
    
        Arrays.fill(b, (byte) 0);
        ByteStreams.readFully(newTestStream(10), b, 0, 5);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go

    	SYS_FORK                     = 2   // { int fork(void); }
    	SYS_READ                     = 3   // { ssize_t read(int fd, void *buf, size_t nbyte); }
    	SYS_WRITE                    = 4   // { ssize_t write(int fd, const void *buf, size_t nbyte); }
    	SYS_OPEN                     = 5   // { int open(char *path, int flags, int mode); }
    	SYS_CLOSE                    = 6   // { int close(int fd); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeInfoProvider.kt

        public val LONG: ClassId = ClassId.topLevel(StandardNames.FqNames._long.toSafe())
        public val SHORT: ClassId = ClassId.topLevel(StandardNames.FqNames._short.toSafe())
        public val BYTE: ClassId = ClassId.topLevel(StandardNames.FqNames._byte.toSafe())
        public val FLOAT: ClassId = ClassId.topLevel(StandardNames.FqNames._float.toSafe())
        public val DOUBLE: ClassId = ClassId.topLevel(StandardNames.FqNames._double.toSafe())
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/unicode/norm/iter.go

    func nextDecomposed(i *Iter) (next []byte) {
    	outp := 0
    	inCopyStart, outCopyStart := i.p, 0
    	for {
    		if sz := int(i.info.size); sz <= 1 {
    			i.rb.ss = 0
    			p := i.p
    			i.p++ // ASCII or illegal byte.  Either way, advance by 1.
    			if i.p >= i.rb.nsrc {
    				i.setDone()
    				return i.returnSlice(p, i.p)
    			} else if i.rb.src._byte(i.p) < utf8.RuneSelf {
    				i.next = i.asciiF
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. src/runtime/os3_solaris.go

    	pid := sysvicall0(&libc_getpid)
    	sysvicall2(&libc_kill, pid, uintptr(sig))
    }
    
    //go:nosplit
    func read(fd int32, buf unsafe.Pointer, nbyte int32) int32 {
    	r1, err := sysvicall3Err(&libc_read, uintptr(fd), uintptr(buf), uintptr(nbyte))
    	if c := int32(r1); c >= 0 {
    		return c
    	}
    	return -int32(err)
    }
    
    //go:nosplit
    func sem_init(sem *semt, pshared int32, value uint32) int32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/schema/schema.fbs

    // could be added to the list in the future.
    enum DimensionType : byte {
      DENSE = 0,
      SPARSE_CSR = 1,
    }
    
    table Int32Vector {
      values:[int];
    }
    
    table Uint16Vector {
      values:[ushort] (force_align: 4);
    }
    
    table Uint8Vector {
      values:[ubyte] (force_align: 4);
    }
    
    // Variable-typed buffer to store the index metadata for a sparse dimension.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  10. cmd/storage-rest_test.go

    }
    
    func testStorageAPIAppendFile(t *testing.T, storage StorageAPI) {
    	testData := []byte("foo")
    	testCases := []struct {
    		volumeName      string
    		objectName      string
    		data            []byte
    		expectErr       bool
    		ignoreIfWindows bool
    	}{
    		{"foo", "myobject", testData, false, false},
    		{"foo", "myobject-0byte", []byte{}, false, false},
    		// volume not found error.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top