Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 5,709 for size0 (0.05 sec)

  1. src/runtime/alg.go

    //go:linkname typehash
    func typehash(t *_type, p unsafe.Pointer, h uintptr) uintptr {
    	if t.TFlag&abi.TFlagRegularMemory != 0 {
    		// Handle ptr sizes specially, see issue 37086.
    		switch t.Size_ {
    		case 4:
    			return memhash32(p, h)
    		case 8:
    			return memhash64(p, h)
    		default:
    			return memhash(p, h, t.Size_)
    		}
    	}
    	switch t.Kind_ & abi.KindMask {
    	case abi.Float32:
    		return f32hash(p, h)
    	case abi.Float64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. src/runtime/mbitmap.go

    		size := dataSize - off
    		if size == 0 {
    			off -= goarch.PtrSize
    			size += goarch.PtrSize
    		}
    		interior := x + off
    		size -= alignDown(uintptr(cheaprand())%size, goarch.PtrSize)
    		if size == 0 {
    			size = goarch.PtrSize
    		}
    		// Round up the type to the size of the type.
    		size = (size + gctyp.Size_ - 1) / gctyp.Size_ * gctyp.Size_
    		if interior+size > x+maxIterBytes {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompactHashing.java

      private static final int BYTE_MAX_SIZE = 1 << Byte.SIZE; // 2^8 = 256
      private static final int BYTE_MASK = (1 << Byte.SIZE) - 1; // 2^8 - 1 = 255
    
      private static final int SHORT_MAX_SIZE = 1 << Short.SIZE; // 2^16 = 65_536
      private static final int SHORT_MASK = (1 << Short.SIZE) - 1; // 2^16 - 1 = 65_535
    
      /**
       * Returns the power of 2 hashtable size required to hold the expected number of items or the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 02 21:41:22 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer_test.cc

        // where the 'dotted' intermediates have size `extra_size`. This
        // allows for testing the effect of window sizes.
        explicit RainbowRemat(const std::vector<std::vector<int>>& sizes,
                              int extra_ops = 0, SizeT extra_size = 0) {
          for (const auto& rainbow : sizes) {
            int tensor = 0;
            int op = 0;
            for (const auto& size : rainbow) {
              for (int i = 0; i < extra_ops; ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  5. cmd/testdata/xl-meta-consist.zip

    ¨PartNums‘ ©PartETags‘ ©PartSizes‘Ò 'ªPartASizes‘Ò '¤SizeÒ 'Â¥MTimeÓ ¿W '’žÉ§MetaSys ¼X-Minio-Internal-actual-sizeÄ 141250§MetaUsr‚¤etagÙ"51fe09d68bacc8c5a68a-1¬content-type¸application/octet-streamÎöa‰ 10/xl.meta XL2 Æ b ¨Versions‘‚¤Type ¥V2ObjÞ ¢IDÄ ¤DDirÄ ÔLã°ê8EÒŸˆ”Ù Sé6¦EcAlgo £EcM £EcN §EcBSizeÒ §EcIndex ¦EcDistš ¨CSumAlgo ¨PartNums‘ ©PartETags‘ ©PartSizes‘Ò 'ªPartASizes‘Ò '¤SizeÒ 'Â¥MTimeÓ ¿W '’žÉ§MetaSys ¼X-Minio-Internal-actual-sizeÄ 141250§MetaUsr‚¬content-type¸application/octet-strea...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 19 18:48:00 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/shift/shift.go

    		}
    	default:
    		structuralTypes = append(structuralTypes, t)
    	}
    	sizes := make(map[int64]struct{})
    	for _, t := range structuralTypes {
    		size := 8 * pass.TypesSizes.Sizeof(t)
    		sizes[size] = struct{}{}
    	}
    	minSize := int64(math.MaxInt64)
    	for size := range sizes {
    		if size < minSize {
    			minSize = size
    		}
    	}
    	if amt >= minSize {
    		ident := analysisutil.Format(pass.Fset, x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/reflect/abi.go

    			kind:   kind,
    			offset: offset + uintptr(i)*size,
    			size:   size,
    			ireg:   a.iregs,
    		})
    		a.iregs++
    	}
    	return true
    }
    
    // assignFloatN assigns n values to registers, each "size" bytes large,
    // from the data at [offset, offset+n*size) in memory. Each value at
    // [offset+i*size, offset+(i+1)*size) for i < n is assigned to the
    // next n floating-point registers.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. src/encoding/xml/example_text_marshaling_test.go

    	}
    	return []byte(name), nil
    }
    
    func Example_textMarshalXML() {
    	blob := `
    	<sizes>
    		<size>small</size>
    		<size>regular</size>
    		<size>large</size>
    		<size>unrecognized</size>
    		<size>small</size>
    		<size>normal</size>
    		<size>small</size>
    		<size>large</size>
    	</sizes>`
    	var inventory struct {
    		Sizes []Size `xml:"size"`
    	}
    	if err := xml.Unmarshal([]byte(blob), &inventory); err != nil {
    		log.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 12 14:18:06 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  9. cmd/encryption-v1.go

    		return 0, o.Size, 0, 0, 0, nil
    	}
    
    	// Assemble slice of (decrypted) part sizes in `sizes`
    	var sizes []int64
    	var decObjSize int64 // decrypted total object size
    	if o.isMultipart() {
    		sizes = make([]int64, len(o.Parts))
    		for i, part := range o.Parts {
    			var partSize uint64
    			partSize, err = sio.DecryptedSize(uint64(part.Size))
    			if err != nil {
    				err = errObjectTampered
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

        assertEquals(expectedSize, multimap.size());
    
        int size = 0;
        for (Entry<K, V> entry : multimap.entries()) {
          assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue()));
          size++;
        }
        assertEquals(expectedSize, size);
    
        int size2 = 0;
        for (Entry<K, Collection<V>> entry2 : multimap.asMap().entrySet()) {
          size2 += entry2.getValue().size();
        }
        assertEquals(expectedSize, size2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top