Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 850 for Size (0.33 sec)

  1. guava/src/com/google/common/collect/CompactHashSet.java

          newDelegate.addAll(delegate);
          this.table = newDelegate;
          return;
        }
        int size = this.size;
        if (size < requireEntries().length) {
          resizeEntries(size);
        }
        int minimumTableSize = CompactHashing.tableSize(size);
        int mask = hashTableMask();
        if (minimumTableSize < mask) { // smaller table size will always be less than current mask
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/gradient_checker.cc

                                JAC_T* max_error) {
      if (xs.size() != x_shapes.size()) {
        return errors::InvalidArgument("xs(size ", xs.size(),
                                       ") and x_shapes(size ", x_shapes.size(),
                                       ") must be the same size.");
      }
      if (ys.size() != y_shapes.size()) {
        return errors::InvalidArgument("ys(size ", ys.size(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. pkg/apis/core/v1/helper/helpers.go

    	idx := 0
    	len := len(hugePageSizeUnitList) - 1
    	for size%1024 == 0 && idx < len {
    		size /= 1024
    		idx++
    	}
    	if size > 1024 && idx < len {
    		return "", fmt.Errorf("size: %d%s must be guaranteed to divisible into the largest units", size, hugePageSizeUnitList[idx])
    	}
    	return fmt.Sprintf("%d%s", size, hugePageSizeUnitList[idx]), nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    				fnName, abi = trimABI(fnName)
    				flag := m[3]
    				fn = knownFunc[fnName][arch]
    				if fn != nil {
    					size, _ := strconv.Atoi(m[5])
    					if size != fn.size && (flag != "7" && !strings.Contains(flag, "NOSPLIT") || size != 0) {
    						badf("wrong argument size %d; expected $...-%d", size, fn.size)
    					}
    				}
    				localSize, _ = strconv.Atoi(m[4])
    				localSize += archDef.intSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. internal/ringbuffer/ring_buffer.go

    }
    
    // New returns a new RingBuffer whose buffer has the given size.
    func New(size int) *RingBuffer {
    	return &RingBuffer{
    		buf:  make([]byte, size),
    		size: size,
    	}
    }
    
    // NewBuffer returns a new RingBuffer whose buffer is provided.
    func NewBuffer(b []byte) *RingBuffer {
    	return &RingBuffer{
    		buf:  b,
    		size: len(b),
    	}
    }
    
    // SetBlocking sets the blocking mode of the ring buffer.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiBuildActionIntegrationTest.groovy

            and:
            model2.size() == 2
            model2[0].message == "It works from project :"
    
    
            when:
            executer.withArguments(ENABLE_CLI)
            def model3 = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            fixture.assertStateLoaded()
    
            and:
            model3.size() == 1
            model3[0].message == "It works from project :"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. src/syscall/fs_wasip1.go

    //go:wasmimport wasi_snapshot_preview1 path_readlink
    //go:noescape
    func path_readlink(fd int32, path unsafe.Pointer, pathLen size, buf unsafe.Pointer, bufLen size, nwritten unsafe.Pointer) Errno
    
    //go:wasmimport wasi_snapshot_preview1 path_remove_directory
    //go:noescape
    func path_remove_directory(fd int32, path unsafe.Pointer, pathLen size) Errno
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  8. src/cmd/gofmt/gofmt.go

    		size = int(info.Size())
    	}
    	if size+1 <= 0 {
    		// The file is not known to be regular, so we don't have a reliable size for it.
    		var err error
    		src, err := io.ReadAll(in)
    		if err != nil {
    			return nil, err
    		}
    		return src, nil
    	}
    
    	// We try to read size+1 bytes so that we can detect modifications: if we
    	// read more than size bytes, then the file was modified concurrently.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/GraphVariantSelector.java

                if (strictlyMatchingCapabilities.size() == 1) {
                    return singleVariant(strictlyMatchingCapabilities);
                } else if (strictlyMatchingCapabilities.size() > 1) {
                    // there are still more than one candidate, but this time we know only a subset strictly matches the required attributes
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashMap.java

        int size = this.size;
        if (size < requireEntries().length) {
          resizeEntries(size);
        }
        int minimumTableSize = CompactHashing.tableSize(size);
        int mask = hashTableMask();
        if (minimumTableSize < mask) { // smaller table size will always be less than current mask
          resizeTable(mask, minimumTableSize, UNSET, UNSET);
        }
      }
    
      @Override
      public void clear() {
        if (needsAllocArrays()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 35.8K bytes
    - Viewed (0)
Back to top