- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for zeroed (0.07 seconds)
-
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
// Delegates to the fast (unsafe) version or the fallback. return byteArray.getLongLittleEndian(input, offset); } /** * Similar to load64, but allows offset + 8 > input.length, padding the result with zeroes. This * has to explicitly reverse the order of the bytes as it packs them into the result which makes * it slower than the native version. * * @param input the input bytes
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 10.1K bytes - Click Count (0) -
.teamcity/scripts/CheckBadMerge.java
* * When merging `releaseX` branch into `master`, we should only use the release note from the `master` branch, * but sometimes changes on release notes.md was brought to master and merged unnoticed, * e.g https://github.com/gradle/gradle/pull/25825 * * This script is to check if there is any merge commit that brings changes from release branch to master. * * Usage (Java 11+ single-file source execution):
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 30 16:25:09 GMT 2026 - 9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java
in.put(Number.class, 0); in.put(Double.class, Math.PI); ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in); assertEquals(2, map.size()); Number zero = map.getInstance(Number.class); assertEquals(0, zero); Double pi = map.getInstance(Double.class); assertThat(pi).isEqualTo(Math.PI); assertThat(ImmutableClassToInstanceMap.copyOf(map)).isSameInstanceAs(map); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 20:00:15 GMT 2026 - 5.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java
int largeSize = haveSameHashesLarge.size(); for (Construction<T> pathway : constructions) { smallCounter.zero(); pathway.create(haveSameHashesSmall); long smallOps = smallCounter.total(); largeCounter.zero(); pathway.create(haveSameHashesLarge); long largeOps = largeCounter.total(); double ratio = (double) largeOps / smallOps;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 9K bytes - Click Count (0) -
.pre-commit-config.yaml
name: ruff check entry: uv run ruff check --force-exclude --fix --exit-non-zero-on-fix require_serial: true language: unsupported types: [python] - id: local-ruff-format name: ruff format entry: uv run ruff format --force-exclude --exit-non-zero-on-format require_serial: true language: unsupported types: [python]Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Apr 03 12:06:36 GMT 2026 - 2.6K bytes - Click Count (1) -
guava/src/com/google/common/base/Suppliers.java
public static <T extends @Nullable Object> Supplier<T> memoizeWithExpiration( Supplier<T> delegate, Duration duration) { checkNotNull(delegate); // The alternative of `duration.compareTo(Duration.ZERO) > 0` causes J2ObjC trouble. checkArgument( !duration.isNegative() && !duration.isZero(), "duration (%s) must be > 0", duration); return new ExpiringMemoizingSupplier<>(delegate, toNanosSaturated(duration));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 21:24:28 GMT 2026 - 16.1K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Suppliers.java
public static <T extends @Nullable Object> Supplier<T> memoizeWithExpiration( Supplier<T> delegate, Duration duration) { checkNotNull(delegate); // The alternative of `duration.compareTo(Duration.ZERO) > 0` causes J2ObjC trouble. checkArgument( !duration.isNegative() && !duration.isZero(), "duration (%s) must be > 0", duration); return new ExpiringMemoizingSupplier<>(delegate, toNanosSaturated(duration));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 21:24:28 GMT 2026 - 16.1K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheBuilderSpec.java
} } return spec; } /** Returns a CacheBuilderSpec that will prevent caching. */ public static CacheBuilderSpec disableCaching() { // Maximum size of zero is one way to block caching return CacheBuilderSpec.parse("maximumSize=0"); } /** Returns a CacheBuilder configured according to this instance's specification. */ CacheBuilder<Object, Object> toCacheBuilder() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 18.2K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheBuilderSpec.java
} } return spec; } /** Returns a CacheBuilderSpec that will prevent caching. */ public static CacheBuilderSpec disableCaching() { // Maximum size of zero is one way to block caching return CacheBuilderSpec.parse("maximumSize=0"); } /** Returns a CacheBuilder configured according to this instance's specification. */ CacheBuilder<Object, Object> toCacheBuilder() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 18.2K bytes - Click Count (0) -
fastapi/applications.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:16:24 GMT 2026 - 178.6K bytes - Click Count (0)