- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 286 for shortp (0.03 sec)
-
guava/src/com/google/common/hash/AbstractStreamingHasher.java
@CanIgnoreReturnValue public final Hasher putByte(byte b) { buffer.put(b); munchIfFull(); return this; } @Override @CanIgnoreReturnValue public final Hasher putShort(short s) { buffer.putShort(s); munchIfFull(); return this; } @Override @CanIgnoreReturnValue public final Hasher putChar(char c) { buffer.putChar(c); munchIfFull();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
hasher.putBytes(new byte[] {}); hasher.putBytes(new byte[] {8}); hasher.assertBytes(expected); } public void testShort() { TestHasher hasher = new TestHasher(); hasher.putShort((short) 0x0201); hasher.assertBytes(new byte[] {1, 2}); } public void testInt() { TestHasher hasher = new TestHasher(); hasher.putInt(0x04030201); hasher.assertBytes(new byte[] {1, 2, 3, 4}); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
sink.putBytes(new byte[] {8}); HashCode unused = sink.hash(); sink.assertInvariants(8); sink.assertBytes(expected); } public void testShort() { Sink sink = new Sink(4); sink.putShort((short) 0x0201); HashCode unused = sink.hash(); sink.assertInvariants(2); sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros } public void testInt() { Sink sink = new Sink(4);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/base/Enums.java
private Enums() {} /** * Returns the {@link Field} in which {@code enumValue} is defined. For example, to get the {@code * Description} annotation on the {@code GOLF} constant of enum {@code Sport}, use {@code * Enums.getField(Sport.GOLF).getAnnotation(Description.class)}. * * @since 12.0 */ public static Field getField(Enum<?> enumValue) { Class<?> clazz = enumValue.getDeclaringClass(); try {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 13:41:58 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
public Mall<? extends Outdoor>.Shop<Electronics> ownerTypeIsSubtype_supertypeWithWildcard( Outlet<Outdoor>.Shop<Electronics> shop) { return isSubtype(shop); } @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true) public Mall<?>.Shop<Electronics> ownerTypeIsSubtype_withWildcards( Outlet<? extends Outdoor>.Shop<Electronics> shop) { return isSubtype(shop); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 20.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java
helper.delayByRules(); end = System.currentTimeMillis(); assertTrue(end - start < 50); // Should return quickly // Test with rule that has delay (we'll use a very short delay for testing) helper.ruleList.clear(); helper.addIntervalRule("12:00", "13:00", "*", 10); start = System.currentTimeMillis(); helper.delayByRules();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13.1K bytes - Viewed (0) -
guava/src/com/google/common/cache/Cache.java
* value. Otherwise, a call that passes one {@code loader} may return the result of another call * with a differently behaving {@code loader}. For example, a call that requests a short timeout * for an RPC may wait for a similar call that requests a long timeout, or a call by an * unprivileged user may return a resource accessible only to a privileged user making a similar
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
*/ public boolean calibrateCpuLoad(final long timeoutInMillis) { final short percent = ComponentUtil.getFessConfig().getAdaptiveLoadControlAsInteger().shortValue(); if (percent <= 0) { return true; } short current = getSystemCpuPercent(); if (current < percent) { return true; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 36.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
return bytes; } @Override boolean equalsSameBits(HashCode that) { // We don't use MessageDigest.isEqual() here because its contract does not guarantee // constant-time evaluation (no short-circuiting). if (this.bytes.length != that.getBytesInternal().length) { return false; } boolean areEqual = true; for (int i = 0; i < this.bytes.length; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
assertTrue("Exception handling should be fast", true); } } public void test_setCrawlingExecutionInterval() { long interval = 100L; // Keep test intervals short dataIndexHelper.setCrawlingExecutionInterval(interval); try { Field field = DataIndexHelper.class.getDeclaredField("crawlingExecutionInterval"); field.setAccessible(true);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 12.7K bytes - Viewed (0)