Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 318 for initCap (0.05 sec)

  1. cmd/xl-storage-format-v2.go

    // If data is not xlv2, it is returned in full.
    func readXLMetaNoData(r io.Reader, size int64) ([]byte, error) {
    	initial := size
    	hasFull := true
    	if initial > metaDataReadDefault {
    		initial = metaDataReadDefault
    		hasFull = false
    	}
    
    	buf := metaDataPoolGet()[:initial]
    	_, err := io.ReadFull(r, buf)
    	if err != nil {
    		return nil, fmt.Errorf("readXLMetaNoData(io.ReadFull): %w", err)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 65.6K bytes
    - Viewed (1)
  2. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

        CompactLinkedHashSet<E> set = createWithExpectedSize(elements.length);
        Collections.addAll(set, elements);
        return set;
      }
    
      /**
       * Creates a {@code CompactLinkedHashSet} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without rebuilding internal data structures.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmServletTest.java

         */
        @Test
        void testService_NtlmAuth_Failure() throws Exception {
            ntlmServlet.init(servletConfig);
            setupMocksForAuth();
    
            // Return null from NtlmSsp.authenticate to simulate initial NTLM handshake
            try (MockedStatic<NtlmSsp> ntlmSspMock = Mockito.mockStatic(NtlmSsp.class)) {
                ntlmSspMock.when(() -> NtlmSsp.authenticate(any(), any(), any(), any())).thenReturn(null);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                // Remaining bytes (if any) stay zero-padded
            }
    
            return nonce;
        }
    
        /**
         * Generate a secure random nonce for initial session setup.
         * This method can be used when enhanced randomness is required,
         * such as during initial key exchange or session establishment.
         *
         * @return randomized nonce appropriate for the dialect
         */
        public byte[] generateSecureNonce() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            infoField.setAccessible(true);
            srvsvc.ShareInfo502 info502 = (srvsvc.ShareInfo502) infoField.get(msrpcShareGetInfo);
    
            assertNotNull(info502);
            // Initial state of ShareInfo502 fields
            assertNull(info502.netname);
            assertNull(info502.remark);
            assertNull(info502.path);
            assertNull(info502.password);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            assertEquals(3, TransPeekNamedPipeResponse.STATUS_CONNECTION_OK);
            assertEquals(4, TransPeekNamedPipeResponse.STATUS_SERVER_END_CLOSED);
        }
    
        @Test
        @DisplayName("getAvailable should return initial value of 0")
        void testGetAvailableInitialValue() {
            // Assert
            assertEquals(0, response.getAvailable());
        }
    
        @Test
        @DisplayName("writeSetupWireFormat should return 0")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

    public interface ModelBuilderRequest extends Request<Session> {
    
        /**
         * The possible request types for building a model.
         */
        enum RequestType {
            /**
             * The request is for building an initial model from a POM file in a project on the filesystem.
             */
            BUILD_PROJECT,
            /**
             * The request is for rebuilding the effective POM in a project on the filesystem.
             */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 20:54:22 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(ping.ack).isTrue()
      }
    
      @Test fun peerHttp2ServerLowersInitialWindowSize() {
        val initial = Settings()
        initial[Settings.INITIAL_WINDOW_SIZE] = 1684
        val shouldntImpactConnection = Settings()
        shouldntImpactConnection[Settings.INITIAL_WINDOW_SIZE] = 3368
        peer.sendFrame().settings(initial)
        peer.acceptFrame() // ACK
        peer.sendFrame().settings(shouldntImpactConnection)
        peer.acceptFrame() // ACK 2
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                if (initialToken != null && initialToken.length > 0) {
                    NegTokenInit tok = new NegTokenInit(initialToken);
                    if (log.isDebugEnabled()) {
                        log.debug("Have initial token " + tok);
                    }
                    if (tok.getMechanisms() != null) {
                        Set<ASN1ObjectIdentifier> mechs = new HashSet<>(Arrays.asList(tok.getMechanisms()));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            getMockRequest().setAttribute(Constants.FIELD_LOGS, new HashMap<String, List<String>>());
    
            queryContext = new QueryContext("allintitle:search term", true);
    
            // Verify initial state
            assertEquals("search term", queryContext.getQueryString());
            assertEquals("title", queryContext.getDefaultField());
            assertTrue(queryContext.roleQueryEnabled());
    
            // Set query builder
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
Back to top