Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 712 for valid (0.03 sec)

  1. src/test/java/jcifs/smb/WinErrorTest.java

        }
    
        @ParameterizedTest(name = "Known code {0} maps to message")
        @MethodSource("knownCodeMessagePairs")
        void lookup_returns_expected_message_for_known_codes(int code, String expectedMessage) {
            // Valid inputs: each known code must map to its documented message
            assertEquals(expectedMessage, lookupMessage(code).orElse(null));
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            // Then - Buffer should be valid
            assertNotNull(buffer2, "Reused buffer should not be null");
            assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer2.length, "Reused buffer should have correct size");
    
            // Note: We don't check if content is cleared as that's not a security requirement
            // The important part is that the buffer is valid and has correct size
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. cmd/auth-handler.go

    }
    
    // Verify if the request has AWS Streaming Signature Version '4'. This is only valid for 'PUT' operation.
    func isRequestSignStreamingV4(r *http.Request) bool {
    	return r.Header.Get(xhttp.AmzContentSha256) == streamingContentSHA256 &&
    		r.Method == http.MethodPut
    }
    
    // Verify if the request has AWS Streaming Signature Version '4'. This is only valid for 'PUT' operation.
    func isRequestSignStreamingTrailerV4(r *http.Request) bool {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

        }
    
        public void test_isSortField() {
            String[] sortFields = { "score", "created", "modified", "title" };
            queryFieldConfig.setSortFields(sortFields);
    
            // Test valid sort fields
            assertTrue(queryFieldConfig.isSortField("score"));
            assertTrue(queryFieldConfig.isSortField("created"));
            assertTrue(queryFieldConfig.isSortField("modified"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  5. cmd/handler-api.go

    		// Honor cgroup limits if set.
    		limit := cgroupMemLimit()
    		if limit > 0 {
    			// A valid value is found, return its 90%
    			available = (limit * 9) / 10
    			return
    		}
    	} // for all other platforms limits are based on virtual memory.
    
    	memStats, err := mem.VirtualMemory()
    	if err != nil {
    		return
    	}
    
    	// A valid value is available return its 90%
    	available = (memStats.Available * 9) / 10
    	return
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. cmd/signature-v4-utils.go

    	if ok {
    		return v[0]
    	}
    
    	// We couldn't find 'X-Amz-Content-Sha256'.
    	return defaultSha256Cksum
    }
    
    // isValidRegion - verify if incoming region value is valid with configured Region.
    func isValidRegion(reqRegion string, confRegion string) bool {
    	if confRegion == "" {
    		return true
    	}
    	if confRegion == "US" {
    		confRegion = globalMinioDefaultRegion
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 25 17:10:22 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. docs/features/caching.md

     - CallStart 
     - **CacheMiss**
     - ProxySelectStart
     - ... Standard Events ...
     - CallEnd
            
    ### Conditional Cache Hit
     
    When cache flags require checking the cache results are still valid an early cacheConditionalHit event is
    received followed by a cache hit or miss.  Critically in the cache hit scenario the server won’t send the response body.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

        }
    
        @Nested
        class ConstructorTests {
    
            @Test
            public void testConstructorWithValidUrl() throws MalformedURLException {
                // Test basic constructor with a valid SMB URL
                String url = "smb1://server/share/file.txt";
                SmbFile smbFile = new SmbFile(url);
                assertNotNull(smbFile);
                assertEquals("smb1://server/share/file.txt", smbFile.getPath());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                // Mock initial receive with valid PDU header
                when(mockSmbPipeHandleInternal.recv(buf, 0, buf.length)).thenAnswer(invocation -> {
                    byte[] buffer = invocation.getArgument(0);
                    buffer[0] = 5; // Valid PDU version
                    buffer[1] = 0; // Valid PDU type
                    Encdec.enc_uint16le((short) 50, buffer, 8); // Fragment length
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. cmd/admin-handlers_test.go

    		mkParams("111", true, false),
    		mkParams("111", false, true),
    		// Valid cases follow
    		mkParams("", true, false),
    		mkParams("", false, true),
    		mkParams("", false, false),
    		mkParams("111", false, false),
    	}
    	varsArr := []map[string]string{
    		// Invalid cases
    		{mgmtPrefix: "objprefix"},
    		// Valid cases
    		{},
    		{mgmtBucket: "bucket"},
    		{mgmtBucket: "bucket", mgmtPrefix: "objprefix"},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.9K bytes
    - Viewed (1)
Back to top