Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 5,168 for Size (0.22 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/dirent.go

    import "unsafe"
    
    // readInt returns the size-bytes unsigned integer in native byte order at offset off.
    func readInt(b []byte, off, size uintptr) (u uint64, ok bool) {
    	if len(b) < int(off+size) {
    		return 0, false
    	}
    	if isBigEndian {
    		return readIntBE(b[off:], size), true
    	}
    	return readIntLE(b[off:], size), true
    }
    
    func readIntBE(b []byte, size uintptr) uint64 {
    	switch size {
    	case 1:
    		return uint64(b[0])
    	case 2:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. src/syscall/dirent.go

    	"unsafe"
    )
    
    // readInt returns the size-bytes unsigned integer in native byte order at offset off.
    func readInt(b []byte, off, size uintptr) (u uint64, ok bool) {
    	if len(b) < int(off+size) {
    		return 0, false
    	}
    	if goarch.BigEndian {
    		return readIntBE(b[off:], size), true
    	}
    	return readIntLE(b[off:], size), true
    }
    
    func readIntBE(b []byte, size uintptr) uint64 {
    	switch size {
    	case 1:
    		return uint64(b[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:13:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/cmd/nm/nm.go

      -n
          an alias for -sort address (numeric),
          for compatibility with other nm commands
      -size
          print symbol size in decimal between address and type
      -sort {address,name,none,size}
          sort output in the given order (default name)
          size orders from largest to smallest
      -type
          print symbol type after name
    `
    
    func usage() {
    	fmt.Fprint(os.Stderr, helpText)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/mmap/mmap_unix.go

    	if err != nil {
    		return Data{}, err
    	}
    	size := st.Size()
    	pagesize := int64(os.Getpagesize())
    	if int64(int(size+(pagesize-1))) != size+(pagesize-1) {
    		return Data{}, fmt.Errorf("%s: too large for mmap", f.Name())
    	}
    	n := int(size)
    	if n == 0 {
    		return Data{f, nil}, nil
    	}
    	mmapLength := int(((size + pagesize - 1) / pagesize) * pagesize) // round up to page size
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 886 bytes
    - Viewed (0)
  5. internal/bpool/bpool_test.go

    	}
    
    	bufPool.Put(b)
    
    	// Close the channel so we can iterate over it.
    	close(bufPool.c)
    
    	// Check the size of the pool.
    	if uint64(len(bufPool.c)) != size {
    		t.Fatalf("bytepool size invalid: got %v want %v", len(bufPool.c), size)
    	}
    
    	bufPoolNoCap := NewBytePoolCap(size, width, 0)
    	// Check the width
    	if bufPoolNoCap.Width() != width {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 19:13:27 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

                    }
                    return deletedDocIdList.size();
                }
            };
            ComponentUtil.register(client, "searchEngineClient");
            final DocList docList = new DocList();
            assertEquals(0, indexingHelper.deleteOldDocuments(client, docList));
            assertEquals(0, docList.size());
            assertEquals(0, deletedDocIdList.size());
    
            docList.clear();
            deletedDocIdList.clear();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/sizes.go

    //   - The size of strings and interfaces is 2*WordSize.
    //   - The size of slices is 3*WordSize.
    //   - The size of an array of n elements corresponds to the size of
    //     a struct of n consecutive fields of the array's element type.
    //   - The size of a struct is the offset of the last field plus that
    //     field's size. As with all element types, if the struct is used
    //     in an array its size must first be aligned to a multiple of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. src/go/types/gcsizes.go

    		offsets := s.Offsetsof(t.fields)
    		offs := offsets[n-1]
    		size := s.Sizeof(t.fields[n-1].typ)
    		if offs < 0 || size < 0 {
    			return -1 // type too large
    		}
    		// gc: The last field of a non-zero-sized struct is not allowed to
    		// have size 0.
    		if offs > 0 && size == 0 {
    			size = 1
    		}
    		// gc: Size includes alignment padding.
    		return align(offs+size, s.Alignof(t)) // may overflow to < 0 which is ok
    	case *Interface:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/authorization/v1beta1/generated.pb.go

    }
    
    func (m ExtraValue) Marshal() (dAtA []byte, err error) {
    	size := m.Size()
    	dAtA = make([]byte, size)
    	n, err := m.MarshalToSizedBuffer(dAtA[:size])
    	if err != nil {
    		return nil, err
    	}
    	return dAtA[:n], nil
    }
    
    func (m ExtraValue) MarshalTo(dAtA []byte) (int, error) {
    	size := m.Size()
    	return m.MarshalToSizedBuffer(dAtA[:size])
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 101K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/tests/go122-confuse-seq-across-generations.test

    Strings
    String id=1
    	data="whatever"
    EventBatch gen=2 m=1 time=3 size=8
    ProcStatus dt=1 p=1 pstatus=1
    GoStart dt=1 g=1 g_seq=2
    EventBatch gen=2 m=0 time=5 size=17
    ProcStatus dt=1 p=0 pstatus=1
    GoStatus dt=1 g=1 m=0 gstatus=1
    GoStart dt=1 g=1 g_seq=1
    GoStop dt=1 reason_string=1 stack=0
    EventBatch gen=2 m=18446744073709551615 time=0 size=5
    Frequency freq=15625000
    EventBatch gen=2 m=18446744073709551615 time=0 size=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1018 bytes
    - Viewed (0)
Back to top