- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 300 for rewrite (0.03 sec)
-
android/guava/src/com/google/common/hash/SneakyThrows.java
* However, we can't usually write {@code throw t;} when {@code t} has a static type of {@link * Throwable}. But we <i>can</i> write {@code sneakyThrow(t);}. * * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to * sneaky checked exception. * * @return never; this method declares a return type of {@link Error} only so that callers can
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Dec 30 18:44:22 UTC 2024 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/base/SneakyThrows.java
* However, we can't usually write {@code throw t;} when {@code t} has a static type of {@link * Throwable}. But we <i>can</i> write {@code sneakyThrow(t);}. * * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to * sneaky checked exception. * * @return never; this method declares a return type of {@link Error} only so that callers can
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Feb 03 21:52:39 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* segments, each governed by its own write lock. The segment lock is taken once for each explicit * write, and twice for each cache loading computation (once prior to loading the new value, and * once after loading completes). Much internal cache management is performed at the segment * granularity. For example, access queues and write queues are kept per segment when they are
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 51.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java
import okhttp3.Cache; import okhttp3.Interceptor; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public final class RewriteResponseCacheControl { /** Dangerous interceptor that rewrites the server's cache-control header. */ private static final Interceptor REWRITE_CACHE_CONTROL_INTERCEPTOR = chain -> { Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 2.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
if (JAVA_IO_TMPDIR.value().equals("/sdcard")) { assertThrows(IOException.class, () -> out.write(data)); return; } out.write(data); assertTrue(Arrays.equals(data, source.read())); out.close(); assertThrows(IOException.class, () -> out.write(42)); // Verify that write had no effect assertTrue(Arrays.equals(data, source.read())); out.reset(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Funnels.java
this.sink = Preconditions.checkNotNull(sink); } @Override public void write(int b) { sink.putByte((byte) b); } @Override public void write(byte[] bytes) { sink.putBytes(bytes); } @Override public void write(byte[] bytes, int off, int len) { sink.putBytes(bytes, off, len); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/Funnels.java
this.sink = Preconditions.checkNotNull(sink); } @Override public void write(int b) { sink.putByte((byte) b); } @Override public void write(byte[] bytes) { sink.putBytes(bytes); } @Override public void write(byte[] bytes, int off, int len) { sink.putBytes(bytes, off, len); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CountingOutputStream.java
/** Returns the number of bytes written. */ public long getCount() { return count; } @Override public void write(byte[] b, int off, int len) throws IOException { out.write(b, off, len); count += len; } @Override public void write(int b) throws IOException { out.write(b); count++; } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e); } } /** * Writes a line to the new file. * * @param line The line to write. */ public void write(final String line) { try { writer.write(line); writer.write(Constants.LINE_SEPARATOR);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.3K bytes - Viewed (0) -
maven-tests/mvnw.cmd
catch { Write-Warning "Cannot remove $TMP_DOWNLOAD_DIR" } } } New-Item -Itemtype Directory -Path "$MAVEN_HOME_PARENT" -Force | Out-Null # Download and Install Apache Maven Write-Verbose "Couldn't find MAVEN_HOME, downloading and installing it ..." Write-Verbose "Downloading from: $distributionUrl" Write-Verbose "Downloading to: $TMP_DOWNLOAD_DIR/$distributionUrlName"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 12 12:05:57 UTC 2025 - 6.8K bytes - Viewed (0)