Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 576 for 50 (0.01 seconds)

  1. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName, timeout);
            byte[] nameBytes = pipeName.getBytes(StandardCharsets.UTF_16LE);
            byte[] buffer = new byte[200];
            int offset = 50;
    
            // Execute
            int bytesEncoded = request.encode(buffer, offset);
    
            // Verify
            assertEquals(14 + nameBytes.length, bytesEncoded);
    
            // Check timeout value at offset
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. docs_src/query_params_str_validations/tutorial004_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: str | None = Query(
            default=None, min_length=3, max_length=50, pattern="^fixedquery$"
        ),
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 335 bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

        @Test
        public void test_toString() {
            final SearchResult result = SearchResult.create().allRecordCount(100).queryTime(50).build();
    
            final String str = result.toString();
            assertNotNull(str);
            assertTrue(str.contains("allRecordCount=100"));
            assertTrue(str.contains("queryTime=50"));
        }
    
        /**
         * Test SearchResult with all fields populated.
         */
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        factory.close()
        peer.close()
      }
    
      @Test fun connectionsEvictedWhenIdleLongEnough() {
        val pool = factory.newConnectionPool()
        val c1 = factory.newConnection(pool, routeA1, 50L)
    
        // Running at time 50, the pool returns that nothing can be evicted until time 150.
        assertThat(pool.closeConnections(50L)).isEqualTo(100L)
        assertThat(pool.connectionCount()).isEqualTo(1)
        assertThat(c1.socket().isClosed).isFalse()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  5. docs/distributed/SIZING.md

    If one or more drives are offline at the start of a PutObject or NewMultipartUpload operation the object will have additional data
    protection bits added automatically to provide the regular safety for these objects up to 50% of the number of drives.
    This will allow normal write operations to take place on systems that exceed the write tolerance.
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 3.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals(0, ndrBuffer.length);
            assertSame(ndrBuffer, ndrBuffer.deferred);
        }
    
        @Test
        void testGetAndSetIndex() {
            ndrBuffer.setIndex(50);
            assertEquals(50, ndrBuffer.getIndex());
        }
    
        @Test
        void testGetCapacity() {
            assertEquals(buffer.length, ndrBuffer.getCapacity());
    
            NdrBuffer offsetBuffer = new NdrBuffer(buffer, 100);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            // Setup configuration with minimal timeouts for fast testing
            when(mockConfig.getNetbiosSoTimeout()).thenReturn(100); // Very short timeout
            when(mockConfig.getNetbiosRetryTimeout()).thenReturn(50); // Very short retry
            when(mockConfig.getNetbiosRetryCount()).thenReturn(1); // Single retry only
            when(mockConfig.getNetbiosLocalPort()).thenReturn(0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  8. docs_src/query_params_str_validations/tutorial010_an_py310.py

                alias="item-query",
                title="Query string",
                description="Query string for the items to search in the database that have a good match",
                min_length=3,
                max_length=50,
                pattern="^fixedquery$",
                deprecated=True,
            ),
        ] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 622 bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                int result2 = request.encode(buffer2, 50);
    
                // Both should succeed independently
                assertTrue(result1 > 0);
                assertTrue(result2 > 0);
    
                // Verify headers in both buffers
                for (int i = 0; i < 8; i++) {
                    assertEquals((byte) 0xFF, buffer1[i]);
                    assertEquals((byte) 0xFF, buffer2[50 + i]);
                }
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

            }
    
            @Test
            @DisplayName("Should decode data correctly")
            void testDecode() throws SMBProtocolDecodingException {
                int length = 50;
                int result = testResponse.decode(testBuffer, 10, length);
    
                assertEquals(length, result);
                assertEquals(1, testResponse.getDecodeCallCount());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.2K bytes
    - Click Count (0)
Back to Top