- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 1,160 for cases (0.05 seconds)
-
guava-tests/test/com/google/common/collect/QueuesTest.java
new LinkedBlockingDeque<Object>(10), new PriorityBlockingQueue<Object>(10, Ordering.arbitrary())); } /* * We need to perform operations in a thread pool, even for simple cases, because the queue might * be a SynchronousQueue. */ private ExecutorService threadPool; @Override public void setUp() { threadPool = newCachedThreadPool(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 04 17:24:58 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
"-1, -1", // Negative values (edge case) "100, 200" // Free space greater than capacity (edge case) }) void shouldHandleVariousValues(long capacity, long free) { // Given TestAllocInfo allocInfo = new TestAllocInfo(capacity, free);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
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) -
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
case errUploadIDNotFound.Error(): return errUploadIDNotFound case errFaultyDisk.Error(): return errFaultyDisk case errFaultyRemoteDisk.Error(): return errFaultyRemoteDisk case errFileCorrupt.Error(): return errFileCorrupt case errUnexpected.Error(): return errUnexpected case errDiskFull.Error(): return errDiskFull case errVolumeNotFound.Error(): return errVolumeNotFound
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) -
src/test/java/jcifs/util/PathValidatorTest.java
// Windows reserved names should be caught regardless of case try { validator.validatePath("\\share\\con"); fail("Should block lowercase reserved name"); } catch (SmbException e) { // Expected } try { validator.validatePath("\\share\\Con"); fail("Should block mixed case reserved name"); } catch (SmbException e) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.6K 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)