- Sort Score
- Num 10 results
- Language All
Results 591 - 600 of 874 for Valid (0.07 seconds)
-
guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
assertParseFails(Integer.toString(-128, radix), radix); assertParseFails(Integer.toString(256, radix), radix); } } public void testParseUnsignedByteThrowsExceptionForInvalidRadix() { // Valid radix values are Character.MIN_RADIX to Character.MAX_RADIX, // inclusive. assertThrows( NumberFormatException.class, () -> UnsignedBytes.parseUnsignedByte("0", Character.MIN_RADIX - 1));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 14K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
*/ @Nonnull Map<String, String> getProperties(@Nonnull Project project); /** * Set a given project property. Properties set through this method are only valid * for the current build session and do not modify the underlying project model. * * @param project the project to modify * @param key they property's keyCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jan 30 23:29:13 GMT 2025 - 12K bytes - Click Count (0) -
cmd/format-erasure_test.go
Sets [][]string `json:"sets"` DistributionAlgo string `json:"distributionAlgo"` }{ Version: "0", }, }, false, }, } // Valid all test cases. for i, testCase := range testCases { if err := checkFormatErasureValue(testCase.format, nil); err != nil && testCase.success { t.Errorf("Test %d: Expected failure %s", i+1, err) } } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java
return "1000.5"; // Invalid for Long parsing } @Override public Long getTimeAdjustTimeMillisAsLong() { return 1000L; // Return valid long } }; FessTimeResourceProvider decimalProvider = new FessTimeResourceProvider(decimalConfig); assertNotNull(decimalProvider);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
// Test with different parameters result = response.readSetupWireFormat(buffer, 10, 50); assertEquals(0, result); } @Test @DisplayName("Test readParametersWireFormat with valid data") void testReadParametersWireFormat() throws Exception { byte[] buffer = new byte[8]; int bufferIndex = 0; // status (2 bytes) SMBUtil.writeInt2(0, buffer, bufferIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
fileBothDirectoryInfo.decode(buffer, 0, buffer.length); // Verify assertEquals(expectedFilename, fileBothDirectoryInfo.getFilename()); } // Helper methods to create valid buffer data private byte[] createValidBuffer(String filename, String shortName, boolean unicode) { int filenameLength = unicode ? filename.length() * 2 : filename.length();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.9K bytes - Click Count (0) -
cmd/auth-handler_test.go
} } } // Test all s3 supported auth types. func TestS3SupportedAuthType(t *testing.T) { type testCase struct { authT authType pass bool } // List of all valid and invalid test cases. testCases := []testCase{ // Test 1 - supported s3 type anonymous. { authT: authTypeAnonymous, pass: true, }, // Test 2 - supported s3 type presigned. {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 15.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
* its first position but with its final value. The {@code duplicates} map is modified. * * @param entries the original array of entries including duplicates * @param n the number of valid entries in {@code entries} * @param newN the expected number of entries once duplicates are removed * @param duplicates a map of canonical {@link Entry} objects for each duplicate key. This mapCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 15.7K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
assertEquals(flags, parsed.getContextFlags(), "Context flags should parse from DER BIT STRING"); } @Test @DisplayName("Sanity: toByteArray produces APPLICATION class wrapper and valid structure") void testToByteArrayStructureSanity() throws Exception { NegTokenInit init =
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
assertTrue(metrics.totalSuccesses() > 0, "Should have some successes"); assertTrue(metrics.successRate() >= 0 && metrics.successRate() <= 100, "Success rate should be valid percentage"); } finally { cbWithWindow.close(); } } @Test public void testCircuitBreakerClose() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.2K bytes - Click Count (0)