- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 288 for modes (0.01 sec)
-
guava/src/com/google/common/io/Files.java
private final File file; private final ImmutableSet<FileWriteMode> modes; private FileByteSink(File file, FileWriteMode... modes) { this.file = checkNotNull(file); this.modes = ImmutableSet.copyOf(modes); } @Override public FileOutputStream openStream() throws IOException { return new FileOutputStream(file, modes.contains(APPEND)); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
private final File file; private final ImmutableSet<FileWriteMode> modes; private FileByteSink(File file, FileWriteMode... modes) { this.file = checkNotNull(file); this.modes = ImmutableSet.copyOf(modes); } @Override public FileOutputStream openStream() throws IOException { return new FileOutputStream(file, modes.contains(APPEND)); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/FileWriteMode.java
* the License. */ package com.google.common.io; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; /** * Modes for opening a file for writing. The default when mode when none is specified is to truncate * the file before writing. * * @author Colin Decker */ @J2ktIncompatible @GwtIncompatible public enum FileWriteMode {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java
this.input = input; } @CanIgnoreReturnValue RoundToDoubleTester setExpectation(double expectedValue, RoundingMode... modes) { for (RoundingMode mode : modes) { Double previous = expectedValues.put(mode, expectedValue); if (previous != null) { throw new AssertionError(); } } return this; } @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 10.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
int x = 1000000; for (RoundingMode mode : ALL_ROUNDING_MODES) { assertEquals(6, IntMath.log10(x, mode)); } } // Simple test to cover sqrt(0) for all types and all modes. @GwtIncompatible // sqrt public void testSqrtZeroAlwaysZero() { for (RoundingMode mode : ALL_ROUNDING_MODES) { assertEquals(0, IntMath.sqrt(0, mode)); } } @GwtIncompatible // sqrt
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/CrudMode.java
*/ package org.codelibs.fess.app.web; /** * Constants for CRUD operation modes. */ public class CrudMode { /** * Mode for listing records. */ public static final int LIST = 0; /** * Mode for creating a new record. */ public static final int CREATE = 1; /** * Mode for editing an existing record. */ public static final int EDIT = 2;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
this.input = input; } @CanIgnoreReturnValue RoundToDoubleTester setExpectation(double expectedValue, RoundingMode... modes) { for (RoundingMode mode : modes) { Double previous = expectedValues.put(mode, expectedValue); if (previous != null) { throw new AssertionError(); } } return this; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/SocketEffect.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package mockwebserver3 /** * An adverse action to take on a socket, intended to exercise failure modes in the calling code. */ public sealed interface SocketEffect { /** * Close the TCP socket that carries this request. * * Using this as [MockResponse.onResponseEnd] is the default for HTTP/1.0. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
} } } // Relies on the correctness of BigIntegerMath.log10 for all modes except UNNECESSARY. @GwtIncompatible // TODO public void testLog10MatchesBigInteger() { for (long x : POSITIVE_LONG_CANDIDATES) { for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) { assertEquals(BigIntegerMath.log10(valueOf(x), mode), LongMath.log10(x, mode)); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 31.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
return nextConnectionSpec(connectionSpecs, sslSocket) ?: throw UnknownServiceException( "Unable to find acceptable protocols." + " isFallback=$isTlsFallback," + " modes=$connectionSpecs," + " supported protocols=${sslSocket.enabledProtocols!!.contentToString()}", ) } /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.6K bytes - Viewed (0)