Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for 5x (0.07 sec)

  1. tensorflow/compiler/mlir/lite/tests/legalize-tf-hashtables.mlir

      // CHECK-NEXT:  return [[FIND]] : tensor<*xi64>
      func.return %1 : tensor<*xi64>
    }
    
    // -----
    
    // Test for case with import and size ops.
    func.func @hashtable_import_then_size(%arg0: tensor<5x!tf_type.string>) -> tensor<i64> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. pkg/util/smallset/smallset.go

    //
    // *Set construction*: sets is roughly 1kb allocations per 250 items. smallsets is 0.
    // *Contains* sets is O(1). smallsets is O(logn). smallsets is typically faster up to about 5 elements.
    //
    //	At 1000 items, it is roughly 5x slower (30ns vs 5ns).
    type Set[T constraints.Ordered] struct {
    	items []T
    }
    
    // NewPresorted creates a new Set with the given items.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/net/http/main_test.go

    func waitCondition(t testing.TB, delay time.Duration, fn func(time.Duration) bool) {
    	t.Helper()
    	start := time.Now()
    	var since time.Duration
    	for !fn(since) {
    		time.Sleep(delay)
    		delay = 2*delay - (delay / 2) // 1.5x, rounded up
    		since = time.Since(start)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:49:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/UnsignedBytes.java

           *
           * In UnsignedBytesBenchmark, accessing the following objects via static final fields is the
           * fastest (more than twice as fast as the Java implementation, vs ~1.5x with non-final static
           * fields, on x86_32) under the Hotspot server compiler. The reason is obviously that the
           * non-final fields need to be reloaded inside the loop.
           *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/UnsignedBytes.java

           *
           * In UnsignedBytesBenchmark, accessing the following objects via static final fields is the
           * fastest (more than twice as fast as the Java implementation, vs ~1.5x with non-final static
           * fields, on x86_32) under the Hotspot server compiler. The reason is obviously that the
           * non-final fields need to be reloaded inside the loop.
           *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactHashSet.java

      }
    
      /** Resizes the entries storage if necessary. */
      private void resizeMeMaybe(int newSize) {
        int entriesSize = requireEntries().length;
        if (newSize > entriesSize) {
          // 1.5x but round up to nearest odd (this is optimal for memory consumption on Android)
          int newCapacity =
              Math.min(CompactHashing.MAX_SIZE, (entriesSize + Math.max(1, entriesSize >>> 1)) | 1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactHashSet.java

      }
    
      /** Resizes the entries storage if necessary. */
      private void resizeMeMaybe(int newSize) {
        int entriesSize = requireEntries().length;
        if (newSize > entriesSize) {
          // 1.5x but round up to nearest odd (this is optimal for memory consumption on Android)
          int newCapacity =
              Math.min(CompactHashing.MAX_SIZE, (entriesSize + Math.max(1, entriesSize >>> 1)) | 1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. src/fmt/fmt_test.go

    	{"%-8q", "abc", `"abc"   `},
    	{"%-8q", []byte("abc"), `"abc"   `},
    	{"%.5q", "abcdefghijklmnopqrstuvwxyz", `"abcde"`},
    	{"%.5q", []byte("abcdefghijklmnopqrstuvwxyz"), `"abcde"`},
    	{"%.5x", "abcdefghijklmnopqrstuvwxyz", "6162636465"},
    	{"%.5x", []byte("abcdefghijklmnopqrstuvwxyz"), "6162636465"},
    	{"%.3q", "日本語日本語", `"日本語"`},
    	{"%.3q", []byte("日本語日本語"), `"日本語"`},
    	{"%.1q", "日本語", `"日"`},
    	{"%.1q", []byte("日本語"), `"日"`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          Object[] newQueue = new Object[newCapacity];
          System.arraycopy(queue, 0, newQueue, 0, queue.length);
          queue = newQueue;
        }
      }
    
      /** Returns ~2x the old capacity if small; ~1.5x otherwise. */
      private int calculateNewCapacity() {
        int oldCapacity = queue.length;
        int newCapacity =
            (oldCapacity < 64) ? (oldCapacity + 1) * 2 : IntMath.checkedMultiply(oldCapacity / 2, 3);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 34K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactHashMap.java

      }
    
      /** Resizes the entries storage if necessary. */
      private void resizeMeMaybe(int newSize) {
        int entriesSize = requireEntries().length;
        if (newSize > entriesSize) {
          // 1.5x but round up to nearest odd (this is optimal for memory consumption on Android)
          int newCapacity =
              Math.min(CompactHashing.MAX_SIZE, (entriesSize + Math.max(1, entriesSize >>> 1)) | 1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.7K bytes
    - Viewed (0)
Back to top