Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for Clip (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/feature/feature_support_checker.go

    	// If client A supports and client B doesn't support the feature, the `Supports` will
    	// first return true at client A initializtion and then return false on client B
    	// initialzation, it can flip the support at runtime.
    	Supports(feature storage.Feature) bool
    	// CheckClient works with etcd client to recalcualte feature support and cache it internally.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketConnection.java

                            BufferCaster.cast(buffer).limit(0);
                            return -1;
                        }
                        throw e;
                    }
                    BufferCaster.cast(buffer).flip();
    
                    if (nread < 0) {
                        return -1;
                    }
                }
    
                int count = Math.min(buffer.remaining(), max);
                buffer.get(dest, offset, count);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/UnsignedBytes.java

        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        for (int i = fromIndex; i < toIndex; i++) {
          array[i] = flip(array[i]);
        }
        Arrays.sort(array, fromIndex, toIndex);
        for (int i = fromIndex; i < toIndex; i++) {
          array[i] = flip(array[i]);
        }
      }
    
      /**
       * Sorts the elements of {@code array} in descending order, interpreting them as unsigned 8-bit
       * integers.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/UnsignedBytes.java

        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        for (int i = fromIndex; i < toIndex; i++) {
          array[i] = flip(array[i]);
        }
        Arrays.sort(array, fromIndex, toIndex);
        for (int i = fromIndex; i < toIndex; i++) {
          array[i] = flip(array[i]);
        }
      }
    
      /**
       * Sorts the elements of {@code array} in descending order, interpreting them as unsigned 8-bit
       * integers.
    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. src/runtime/hash_test.go

    	for z := 0; z < REP; z++ {
    		// pick a random key, hash it
    		k.random(r)
    		h := k.hash()
    
    		// flip each bit, hash & compare the results
    		for i := 0; i < n; i++ {
    			k.flipBit(i)
    			d := h ^ k.hash()
    			k.flipBit(i)
    
    			// record the effects of that bit flip
    			g := &grid[i]
    			for j := 0; j < hashSize; j++ {
    				g[j] += int(d & 1)
    				d >>= 1
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-utils_test.go

    			if got := hashDeterministicString(m); got == want {
    				t.Errorf("hashDeterministicString() = %v, does not want %v", got, want)
    			}
    
    			// Flip key/value
    			want = hashDeterministicString(m)
    			delete(m, "another")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java

                castBuffer(buffer).clear();
            }
    
            /**
             * Without this cast, when the code compiled by Java 9+ is executed on Java 8, it will throw
             * java.lang.NoSuchMethodError: Method flip()Ljava/nio/ByteBuffer; does not exist in class java.nio.ByteBuffer
             */
            @SuppressWarnings("RedundantCast")
            private static <T extends Buffer> Buffer castBuffer(T byteBuffer) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:30 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc

        // Construct a new array of input shapes excluding the input shapes of the
        // erased arguments.
        SmallVector<Attribute> updated_input_shapes_attr;
        for (const unsigned i : args_to_erase_bit_vector.flip().set_bits()) {
          updated_input_shapes_attr.emplace_back(input_shapes_attr[i]);
        }
    
        // Replaces the attribute with the updated "#tf_type.shape" array.
        // Builder builder(func_op.getContext());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 09:56:53 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. pilot/pkg/model/endpointshards.go

    		// but we should not delete the keys from EndpointIndex map - that will trigger
    		// unnecessary full push which can become a real problem if a pod is in crashloop and thus endpoints
    		// flip flopping between 1 and 0.
    		e.DeleteServiceShard(shard, hostname, namespace, true)
    		log.Infof("Incremental push, service %s at shard %v has no endpoints", hostname, shard)
    		return IncrementalPush
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        final BloomFilter<Integer> bloomFilter =
            BloomFilter.create(Funnels.integerFunnel(), 15_000_000, 0.01);
    
        // This check has to be BEFORE the loop because the random insertions can
        // flip GOLDEN_PRESENT_KEY to true even if it wasn't explicitly inserted
        // (false positive).
        assertThat(bloomFilter.mightContain(GOLDEN_PRESENT_KEY)).isFalse();
        for (int i = 0; i < NUM_PUTS; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top