- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,227 for hong (0.13 sec)
-
android/guava/src/com/google/common/io/ByteStreams.java
* happens first. Returns the total number of bytes skipped. */ static long skipUpTo(InputStream in, long n) throws IOException { long totalSkipped = 0; // A buffer is allocated if skipSafely does not skip any bytes. byte[] buf = null; while (totalSkipped < n) { long remaining = n - totalSkipped; long skipped = skipSafely(in, remaining); if (skipped == 0) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jan 17 18:59:58 GMT 2024 - 29.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
buf[((x1 << 16) + (x2 << 8) + x3) % bufLen] ^= i % 256; } assertEquals(0x7a1d67c50ec7e167L, h); } private static long remix(long h) { h ^= h >>> 41; h *= 949921979; return h; } private static byte getChar(long h) { return (byte) ('a' + ((h & 0xfffff) % 26)); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Jul 19 14:00:24 GMT 2016 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/WrappingScheduledExecutorService.java
Runnable command, long initialDelay, long period, TimeUnit unit) { return delegate.scheduleAtFixedRate(wrapTask(command), initialDelay, period, unit); } @Override public final ScheduledFuture<?> scheduleWithFixedDelay( Runnable command, long initialDelay, long delay, TimeUnit unit) { return delegate.scheduleWithFixedDelay(wrapTask(command), initialDelay, delay, unit); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 04 09:45:04 GMT 2023 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java
class SmbComQueryInformationResponse extends ServerMessageBlock implements Info { private int fileAttributes = 0x0000; private long lastWriteTime = 0L; private long serverTimeZoneOffset; private int fileSize = 0; SmbComQueryInformationResponse( long serverTimeZoneOffset ) { this.serverTimeZoneOffset = serverTimeZoneOffset; command = SMB_COM_QUERY_INFORMATION; }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileAttributesTest.java
try ( SmbResource f = createTestFile() ) { try { long orig = f.createTime(); long time = System.currentTimeMillis() - 60 * 60 * 12; f.setCreateTime(time); long newTime = f.createTime(); if ( newTime == orig ) { Assume.assumeTrue("Create time was not changed", false);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 12.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java
new Callable<Long>() { @Override public Long call() { return runAddRemoveSingleThread(reps); } }); } private long doMultithreadedLoop(Callable<Long> task) throws InterruptedException, ExecutionException { List<Future<Long>> futures = Lists.newArrayListWithCapacity(threads); for (int i = 0; i < threads; i++) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed May 09 15:17:25 GMT 2018 - 16.6K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSource.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 22.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/DiscreteDomainTest.java
assertEquals(Long.MAX_VALUE, DiscreteDomain.longs().offset(0L, Long.MAX_VALUE).longValue()); } public void testLongsOffsetExceptions() { assertThrows(IllegalArgumentException.class, () -> DiscreteDomain.longs().offset(0L, -1)); assertThrows( IllegalArgumentException.class, () -> DiscreteDomain.longs().offset(Long.MAX_VALUE, 1)); } public void testBigIntegersOffset() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileStandardInfo.java
return 0; } @Override public long getCreateTime () { return 0L; } @Override public long getLastWriteTime () { return 0L; } @Override public long getLastAccessTime () { return 0L; } @Override public long getSize () { return this.endOfFile; } /**
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsentity/BsKeyMatch.java
protected String createdBy; /** createdTime */ protected Long createdTime; /** maxSize */ protected Integer maxSize; /** query */ protected String query; /** term */ protected String term; /** updatedBy */ protected String updatedBy; /** updatedTime */ protected Long updatedTime; /** virtualHost */ protected String virtualHost;
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.4K bytes - Viewed (0)