- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 703 for Cases (0.02 seconds)
-
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
import java.util.concurrent.atomic.AtomicInteger; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import jcifs.smb.SmbException; /** * Test cases for AuthenticationRateLimiter */ public class AuthenticationRateLimiterTest { private AuthenticationRateLimiter rateLimiter; @BeforeEach public void setUp() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.8K bytes - Click Count (0) -
architecture/standards/0006-use-of-provider-apis-in-gradle.md
## Decision ### Types of properties that should not use lazy types The guidelines below do not apply to all properties. There are cases where the lazy types should not be used: #### Non-calculated values These are inappropriate uses of lazy types: ```groovy class Example { Property<String> getSomeProperty() Example() {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 10K bytes - Click Count (0) -
src/test/java/jcifs/SidResolverTest.java
assertDoesNotThrow(() -> sidResolver.resolveSids(mockContext, testServerName, testSids, 2, 1)); } // Test edge cases for getGroupMemberSids @Test void testGetGroupMemberSids_MaxRid() throws CIFSException { when(sidResolver.getGroupMemberSids(any(CIFSContext.class), anyString(), any(SID.class), eq(Integer.MAX_VALUE), anyInt()))Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 15.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
* * Our usages should at least be *relatively* safe: Typically, threads started by a test are dying * at the end of the test, so there is no object state put at risk by stopping the threads * abruptly. In other cases, a test may put a thread into an uninterruptible operation * intentionally, so there is no other way to clean up these threads. (The better solution,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 11.5K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Closer.java
public static Closer create() { return new Closer(SUPPRESSING_SUPPRESSOR); } @VisibleForTesting final Suppressor suppressor; // only need space for 2 elements in most cases, so try to use the smallest array possible private final Deque<Closeable> stack = new ArrayDeque<>(4); private @Nullable Throwable thrown; @VisibleForTesting Closer(Suppressor suppressor) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 10.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link PairedStatsAccumulator}. This tests the stats methods for instances built with * {@link PairedStatsAccumulator#add}, and various error cases of that method. For tests of the * {@link PairedStatsAccumulator#snapshot} method which returns {@link PairedStats} instances, see * {@link PairedStatsTest}. * * @author Pete Gillin */ @NullUnmarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 23.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java
import org.opensearch.transport.client.Client; /** * Test class for refactoring changes made to Suggester class. * * Tests cover: * - Index alias helper method (getIndicesForAlias) * - Edge cases for switchIndex with EXPECTED_INDEX_COUNT * - Index lifecycle with refactored methods */ public class SuggesterRefactoringTest { static OpenSearchRunner runner; static Client client; @BeforeClass
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 13.1K bytes - Click Count (0) -
cmd/bucket-replication_test.go
info ObjectInfo name string rcfg replicationConfig dsc ReplicateDecision tgtStatuses map[string]replication.StatusType expectedSync bool }{ { // Cases 1-4: existing object replication enabled, versioning enabled, no reset - replication status varies // 1: Pending replication name: "existing object replication on object in Pending replication status", info: ObjectInfo{
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 12.1K bytes - Click Count (0) -
docs/ja/docs/advanced/stream-data.md
JSON として構造化できるデータをストリームしたい場合は、[JSON Lines をストリームする](../tutorial/stream-json-lines.md) を参照してください。 しかし、純粋なバイナリデータや文字列をストリームしたい場合は、次のようにできます。 /// info | 情報 FastAPI 0.134.0 で追加されました。 /// ## ユースケース { #use-cases } 例えば、AI LLM サービスの出力をそのまま、純粋な文字列としてストリームしたい場合に使えます。 メモリに一度に全て読み込むことなく、読み込みながらチャンクごとに送ることで、巨大なバイナリファイルをストリームすることにも使えます。 同様に、動画や音声をストリームすることもできます。処理しながら生成し、そのまま送信することも可能です。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:55:22 GMT 2026 - 6.7K bytes - Click Count (0) -
cmd/storage-rest-client.go
return true } if errors.Is(nerr.Err, rest.ErrClientClosed) { return true } } if errors.Is(err, grid.ErrDisconnected) { return true } // More corner cases suitable for storage REST API switch { // A peer node can be in shut down phase and proactively // return 503 server closed error, consider it as an offline node
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 08 02:38:41 GMT 2025 - 30.4K bytes - Click Count (0)