- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 650 for nest (0.07 sec)
-
src/archive/zip/zip_test.go
}, } // write a zip file buf := new(bytes.Buffer) w := NewWriter(buf) for _, test := range headerTests { h := &FileHeader{ Name: test.name, Extra: test.extra, } _, err := w.CreateHeader(h) if err != test.wanterr { t.Errorf("error=%v, want %v", err, test.wanterr) } } if err := w.Close(); err != nil { t.Fatal(err) } }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
CHANGELOG.md
system. We've fixed this with a new package (`okhttp3.java.net.cookiejar`) and a new artifact, `com.squareup.okhttp3:okhttp-java-net-cookiehandler`. (The original artifact now delegates to this new one.) ```kotlin implementation("com.squareup.okhttp3:okhttp-java-net-cookiehandler:5.0.0-alpha.12") ```
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 18 01:31:39 UTC 2024 - 21.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@link Collection#removeIf}. Can't be invoked directly; please * see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java
* JUnit constructs the instances. * * <p>This class is emulated in GWT. * * @param <G> the type of the test generator required by this tester. An instance of G should * somehow provide an instance of the class under test, plus any other information required to * parameterize the test. * @author George van den Driessche */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 28 21:41:47 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractTester.java
* JUnit constructs the instances. * * <p>This class is emulated in GWT. * * @param <G> the type of the test generator required by this tester. An instance of G should * somehow provide an instance of the class under test, plus any other information required to * parameterize the test. * @author George van den Driessche */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 28 21:41:47 UTC 2024 - 3.4K bytes - Viewed (0) -
docs/pt/docs/advanced/testing-dependencies.md
Você provavelmente quer testar o provedor externo uma vez, mas não necessariamente chamá-lo em todos os testes que executarem. Neste caso, você pode sobrepor (*override*) a dependência que chama o provedor, e utilizar uma dependência customizada que retorna um *mock* do usuário, apenas para os seus testes. ### Utilize o atributo `app.dependency_overrides`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.2K bytes - Viewed (0) -
cmd/erasure-utils.go
if offset >= int64(len(block)) { // Decrement offset. offset -= int64(len(block)) continue } // Skip until offset. block = block[offset:] // Reset the offset for next iteration to read everything // from subsequent blocks. offset = 0 // We have written all the blocks, write the last remaining block. if write < int64(len(block)) { n, err := dst.Write(block[:write])
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 3.1K bytes - Viewed (0) -
internal/cachevalue/cache_test.go
func(ctx context.Context) (time.Time, error) { return time.Now(), slowCaller(ctx) }, ) ctx, cancel := context.WithCancel(context.Background()) cancel() // cancel context to test. _, err := cache.GetWithCtx(ctx) if !errors.Is(err, context.Canceled) { t.Fatalf("expected context.Canceled err, got %v", err) } ctx, cancel = context.WithCancel(context.Background()) defer cancel()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 09 00:51:34 UTC 2024 - 2.7K bytes - Viewed (0) -
docs/features/caching.md
This would be typical after a user initiates a force refresh by a pull to refresh type action. ```java val urlIterator = cache.urls() while (urlIterator.hasNext()) { if (urlIterator.next().startsWith("https://www.google.com/")) { urlIterator.remove() } } ``` ### Troubleshooting 1. Valid cacheable responses are not being cached
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.1K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
interface Callback { fun onEvent( id: String?, type: String?, data: String, ) fun onRetryChange(timeMs: Long) } /** * Process the next event. This will result in a single call to [Callback.onEvent] *unless* the * data section was empty. Any number of calls to [Callback.onRetryChange] may occur while * processing an event. *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.3K bytes - Viewed (0)