- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 994 for calc (0.02 sec)
-
src/bufio/net_test.go
"net" "path/filepath" "strings" "sync" "testing" ) // TestCopyUnixpacket tests that we can use bufio when copying // across a unixpacket socket. This used to fail due to an unnecessary // empty Write call that was interpreted as an EOF. func TestCopyUnixpacket(t *testing.T) { tmpDir := t.TempDir() socket := filepath.Join(tmpDir, "unixsock") // Start a unixpacket server. addr := &net.UnixAddr{ Name: socket,
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 07 19:37:07 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
* iterable supports it. Note that it is <i>not</i> possible to delete the last skipped element by * immediately calling {@code remove()} on that iterator, as the {@code Iterator} contract states * that a call to {@code remove()} before a call to {@code next()} will throw an {@link * IllegalStateException}. * * <p><b>{@code Stream} equivalent:</b> {@link Stream#skip} * * @since 3.0 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.6K bytes - Viewed (0) -
cmd/naughty-disk_test.go
// Programmed errors are stored in errors field. type naughtyDisk struct { // The real disk disk StorageAPI // Programmed errors: API call number => error to return errors map[int]error // The error to return when no error value is programmed defaultErr error // The current API call number callNR int // Data protection mu sync.Mutex }Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 10.1K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/DisabledInitialiserTest.kt
cause().isNotNull().all { hasMessage( "Platform applicationContext not initialized. " + "Startup Initializer possibly disabled, " + "call OkHttp.initialize before test.", ) hasClass<IOException>() } } } companion object { @AfterClass @JvmStatic fun resetContext() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 16:25:39 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java
Exception cause = new RuntimeException("Test cause"); boolean abort = true; DataStoreCrawlingException exception = new DataStoreCrawlingException(url, message, cause, abort); // Call aborted() multiple times assertTrue(exception.aborted()); assertTrue(exception.aborted()); assertTrue(exception.aborted()); } public void test_getUrl_multipleCallsReturnSameValue() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
protected void initMapWithNullValue() { resetMap(createArrayWithNullValue()); } /** * Equivalent to {@link #expectMissingKeys(Object[]) expectMissingKeys} {@code (null)} except that * the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}. * * @param message message to use upon assertion failure */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 7.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
/** * Tests that all {@code public static} methods "inherited" from superclasses are "overridden" in * each immutable-collection class. This ensures, for example, that a call written "{@code * ImmutableSortedSet.copyOf()}" cannot secretly be a call to {@code ImmutableSet.copyOf()}. * * @author Chris Povirk */ @NullUnmarked public class FauxveridesTest extends TestCase { public void testImmutableBiMap() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java
import jcifs.smb1.dcerpc.ndr.NdrBuffer; import jcifs.smb1.dcerpc.ndr.NdrException; import jcifs.smb1.dcerpc.ndr.NdrObject; import jcifs.smb1.dcerpc.ndr.NdrSmall; /** * LSA RPC (Local Security Authority Remote Procedure Call) definitions. * Provides interface definitions and data structures for LSA RPC operations. */ public class lsarpc { /** * Private constructor to prevent instantiation of utility class. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 42.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/RandomAmountInputStream.java
import java.io.FilterInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Random; import org.jspecify.annotations.NullUnmarked; /** Returns a random portion of the requested bytes on each call. */ @NullUnmarked class RandomAmountInputStream extends FilterInputStream { private final Random random; public RandomAmountInputStream(InputStream in, Random random) { super(checkNotNull(in));Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
assertThat(e).hasCauseThat().isEqualTo(exception); } public static <T> Callable<T> callableThrowing(Exception exception) { return new Callable<T>() { @Override public T call() throws Exception { throw exception; } }; } private static Runnable runnableThrowing(RuntimeException e) { return new Runnable() { @Override public void run() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.1K bytes - Viewed (0)