Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 412 for 50 (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

        @Test
        @DisplayName("Should write correct bytes to wire format")
        void testWriteBytesWireFormat() throws Exception {
            // Given
            byte[] buffer = new byte[512];
            int headerStart = 50;
            int bodyOffset = headerStart + Smb2Constants.SMB2_HEADER_LENGTH;
    
            // Encode the full message to set headerStart
            request.encode(buffer, headerStart);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. cmd/dynamic-timeouts.go

    		// so decrease the timeout towards 25 % of maximum time spent.
    		maxDur = maxDur * 125 / 100
    
    		timeout := atomic.LoadInt64(&dt.timeout)
    		if maxDur < time.Duration(timeout) {
    			// Move 50% toward the max.
    			timeout = (int64(maxDur) + timeout) / 2
    		}
    		if timeout < dt.minimum {
    			timeout = dt.minimum
    		}
    		atomic.StoreInt64(&dt.timeout, timeout)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

        }
    
        @Test
        @DisplayName("MonotonicClock elapsed time should increase")
        void testElapsedTime() throws InterruptedException {
            Duration initial = MonotonicClock.elapsed();
            Thread.sleep(50); // Longer delay for more reliable measurement
            Duration later = MonotonicClock.elapsed();
    
            assertTrue(later.compareTo(initial) > 0, "Elapsed time should increase");
            assertTrue(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/query-params-str-validations.md

    /// note | 참고
    
    FastAPI는 `q`의 기본값이 `= None`이기 때문에 필수가 아님을 압니다.
    
    `Optional[str]`에 있는 `Optional`은 FastAPI가 사용하는게 아니지만, 편집기에게 더 나은 지원과 오류 탐지를 제공하게 해줍니다.
    
    ///
    
    ## 추가 검증
    
    `q`가 선택적이지만 값이 주어질 때마다 **값이 50 글자를 초과하지 않게** 강제하려 합니다.
    
    ### `Query` 임포트
    
    이를 위해 먼저 `fastapi`에서 `Query`를 임포트합니다:
    
    {* ../../docs_src/query_params_str_validations/tutorial002.py hl[3] *}
    
    ## 기본값으로 `Query` 사용
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            byte[] buf = new byte[header.length + 10];
            System.arraycopy(header, 0, buf, 0, header.length);
            // Write invalid structure size 50 at body start
            SMBUtil.writeInt2(50, buf, Smb2Constants.SMB2_HEADER_LENGTH);
    
            BaseConfiguration config = new BaseConfiguration(true);
            Smb2IoctlResponse resp = new Smb2IoctlResponse(config);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            assertEquals(0, read);
        }
    
        @Test
        void testToString() {
            // Test toString method
            when(mockConfig.getListSize()).thenReturn(50);
    
            trans2FindNext2 = new Trans2FindNext2(mockConfig, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE);
    
            String result = trans2FindNext2.toString();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/SessionServicePacketTest.java

        void testWriteWireFormat() {
            packet.type = SessionServicePacket.SESSION_MESSAGE;
            packet.trailerLength = 10; // Mock trailer will write 10 bytes
    
            byte[] dst = new byte[50];
            int totalWritten = packet.writeWireFormat(dst, 0);
    
            assertEquals(14, totalWritten); // 4 header + 10 trailer
            assertEquals((byte) SessionServicePacket.SESSION_MESSAGE, dst[0]);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                byte[] buffer = new byte[12];
                SMBUtil.writeInt4(50, buffer, 0);
                SMBUtil.writeInt4(32768, buffer, 4);
                SMBUtil.writeInt4(1638400, buffer, 8);
    
                int bytesDecoded = response.decode(buffer, 0, 12);
    
                assertEquals(12, bytesDecoded);
                assertEquals(50, response.getChunksWritten());
                assertEquals(32768, response.getChunkBytesWritten());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/HostSpecifier.java

     * class. Similarly, if you know that a given string represents a domain name, use {@link
     * InternetDomainName} rather than this class.
     *
     * @author Craig Berry
     * @since 5.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class HostSpecifier {
    
      private final String canonicalForm;
    
      private HostSpecifier(String canonicalForm) {
        this.canonicalForm = canonicalForm;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/opensearch/config/exentity/WebConfigTest.java

            assertNotNull(initParamMap);
            assertEquals(0, ((org.codelibs.fess.crawler.client.http.RequestHeader[]) initParamMap.get("requestHeaders")).length);
            assertEquals("Mozilla/5.0 (compatible; Fess/98.76; +http://fess.codelibs.org/bot.html)", initParamMap.get("userAgent"));
            assertEquals(0, ((Authentication[]) initParamMap.get(HcHttpClient.AUTHENTICATIONS_PROPERTY)).length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top