- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 444 for advice (0.05 seconds)
-
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
cache.put(0, 10); cache.put(2, 30); fakeTicker.advance(999, MILLISECONDS); assertThat(cache.getIfPresent(2)).isEqualTo(30); fakeTicker.advance(1, MILLISECONDS); assertThat(cache.getIfPresent(2)).isEqualTo(30); fakeTicker.advance(1000, MILLISECONDS); assertThat(cache.getIfPresent(0)).isNull(); } @TestCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheRefreshTest.java
ticker.advance(1, MILLISECONDS); } assertThat(cache.getUnchecked(0)).isEqualTo(0); assertThat(cache.getUnchecked(1)).isEqualTo(1); assertThat(cache.getUnchecked(2)).isEqualTo(2); assertThat(loader.getLoadCount()).isEqualTo(expectedLoads); assertThat(loader.getReloadCount()).isEqualTo(expectedReloads); // refresh 0 ticker.advance(1, MILLISECONDS);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 4K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/netdfs.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 21.8K bytes - Click Count (0) -
internal/mountinfo/mountinfo_linux.go
// - mount.Path doesn't match (means cross-device mount), should error out. if mount.Path != path { crossMounts = append(crossMounts, mount) } } } msg := `Cross-device mounts detected on path (%s) at following locations %s. Export path should not have any sub-mounts, refusing to start.` if len(crossMounts) > 0 { // if paths didn't match then we do have cross-device mount. return fmt.Errorf(msg, path, crossMounts)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 4.7K bytes - Click Count (0) -
internal/mountinfo/mountinfo_linux_test.go
} // Failure case where we detected successfully cross device mounts. { absPaths := []string{"/path/to/1"} if err = checkCrossDevice(absPaths, mountsPath); err == nil { t.Fatal("Expected to fail, but found success") } mp := []mountInfo{ {"/dev/2", "/path/to/1/2", "type2", []string{"flags"}, "2", "2"}, }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 7.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/FakeTicker.java
@CanIgnoreReturnValue public FakeTicker advance(long time, TimeUnit timeUnit) { return advance(timeUnit.toNanos(time)); } /** Advances the ticker value by {@code nanoseconds}. */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration @CanIgnoreReturnValue public FakeTicker advance(long nanoseconds) { nanos.addAndGet(nanoseconds); return this; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 3.4K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java
this.deferred.length = length; } /** * Advances the buffer index by the specified number of bytes. * * @param n the number of bytes to advance */ public void advance(final int n) { this.index += n; if (this.index - this.start > this.deferred.length) { this.deferred.length = this.index - this.start; } } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/MultiReader.java
private @Nullable Reader current; MultiReader(Iterator<? extends CharSource> readers) throws IOException { this.it = readers; advance(); } /** Closes the current reader and opens the next one, if any. */ private void advance() throws IOException { close(); if (it.hasNext()) { current = it.next().openStream(); } } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:37:28 GMT 2025 - 2.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/FakeTickerTest.java
public void testAdvance() { FakeTicker ticker = new FakeTicker(); assertEquals(0, ticker.read()); assertThat(ticker.advance(10)).isSameInstanceAs(ticker); assertEquals(10, ticker.read()); ticker.advance(1, MILLISECONDS); assertEquals(1000010L, ticker.read()); ticker.advance(Duration.ofMillis(1)); assertEquals(2000010L, ticker.read()); } public void testAutoIncrementStep_returnsSameInstance() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/ShareEnumIterator.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.5K bytes - Click Count (0)