Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 2,115 for Size (0.05 sec)

  1. 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)
  2. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc

    // Returns `slice_inputs` with the index and size inputs cast to DT_INT64.
    SliceInputs MakeSliceIndexAndSizeInt64(const Scope& host_scope,
                                           const SliceInputs& slice_inputs) {
      SliceInputs result;
      result.input = slice_inputs.input;
      result.begin = MakeInt64(host_scope, "begin", slice_inputs.begin);
      result.size = MakeInt64(host_scope, "size", slice_inputs.size);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        }
        assertEquals(ITERATIONS, map.size());
    
        map.clear();
        assertEquals(0, map.size());
        assertTrue(map.isEmpty());
      }
    
      public void testSum() {
        AtomicLongMap<Object> map = AtomicLongMap.create();
        long sum = 0;
        for (int i = 0; i < ITERATIONS; i++) {
          map.put(new Object(), i);
          sum += i;
        }
        assertEquals(ITERATIONS, map.size());
        assertEquals(sum, map.sum());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. src/cmd/go/internal/cache/cache.go

    		return OutputID{}, 0, err
    	}
    	size, err := io.Copy(h, file)
    	if err != nil {
    		return OutputID{}, 0, err
    	}
    	var out OutputID
    	h.Sum(out[:0])
    
    	// Copy to cached output file (if not already present).
    	if err := c.copyFile(file, out, size); err != nil {
    		return out, size, err
    	}
    
    	// Add to cache index.
    	return out, size, c.putIndexEntry(id, out, size, allowVerify)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy

            testExecutorEvents.size() == 2
            testExecutorEvents.every { it.successful }
            events.tests.findAll { it.descriptor.displayName == "Test class example.MyTest" }.size() == 2
            events.tests.findAll { it.descriptor.displayName == "Test foo(example.MyTest)" }.size() == 2
            events.tests.findAll { it.descriptor.displayName == "Test foo2(example.MyTest)" }.size() == 2
            if (supportsEfficientClassFiltering()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  6. src/cmd/go/internal/fsys/fsys_test.go

    			}
    			if tc.want.isDir {
    				return // don't check size for directories
    			}
    			if got.Size() != tc.want.size {
    				t.Errorf("lstat(%q).Size(): got %v, want %v", tc.path, got.Size(), tc.want.size)
    			}
    		})
    	}
    }
    
    func TestStat(t *testing.T) {
    	testenv.MustHaveSymlink(t)
    
    	type file struct {
    		name  string
    		size  int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:52:11 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathInstrumentationIntegrationTest.groovy

            dependencyAnalysisOutputs("commons-lang3-3.8.1.jar").size() == 1
            mergeAnalysisOutputs("commons-lang3-3.8.1.jar").size() == 1
    
            when:
            file("included/src/main/java/Bar.java").text = barContentOnChange
            run("tasks")
    
            then:
            typeHierarchyAnalysisOutputs("commons-lang3-3.8.1.jar").size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 29K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy

                roots.size() == 1
                with(roots[0]) {
                    path == file("a/src").absolutePath
                    children.size() == 4
                    with(children[0]) {
                        path == "a"
                        children.size() == 2
                        with(children[0]) {
                            path == "a"
                            children.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  9. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/JUnitTestClassExecutionResult.groovy

            return testClassNode.testcase.size()
        }
    
        TestClassExecutionResult withResult(Closure action) {
            action(testClassNode)
            this
        }
    
        TestClassExecutionResult assertTestPassed(String name) {
            Map<String, Node> testMethods = findTests()
            assertThat(testMethods.keySet(), CoreMatchers.hasItem(name))
            assertThat(testMethods[name].failure.size(), CoreMatchers.equalTo(0))
            this
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/util.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h"
    
    namespace mlir {
    namespace odml {
    
    bool IsIotaAttr(ArrayRef<int64_t> arr, int64_t size) {
      if (arr.size() != size) return false;
      int64_t iota = 0;
      for (auto s : arr) {
        if (s != iota) return false;
        ++iota;
      }
      return true;
    }
    
    PermutationAndShape GetPermutationAndTransposedShape(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top