- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 735 for valido (0.04 sec)
-
src/test/java/org/codelibs/fess/script/ScriptEngineTest.java
public void setUp() throws Exception { super.setUp(); // Create a test implementation of ScriptEngine scriptEngine = new TestScriptEngine(); } // Test evaluate method with valid template and parameters public void test_evaluate_withValidTemplateAndParams() { String template = "Hello ${name}"; Map<String, Object> paramMap = new HashMap<>(); paramMap.put("name", "World");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
private ValidateNegotiateInfoResponse response; @BeforeEach void setUp() { response = new ValidateNegotiateInfoResponse(); } @Test @DisplayName("Test decode with valid buffer") void testDecodeValidBuffer() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = new byte[64]; int bufferIndex = 10; // Set capabilities (4 bytes)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
@Test void readWireFormat_shouldDelegateToParent() { // Arrange nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName); byte[] src = new byte[200]; // Setup minimal valid header src[0] = 0x00; src[1] = 0x01; // Transaction ID src[2] = 0x00; // Flags src[3] = 0x00; // Flags src[4] = 0x00; src[5] = 0x01; // Question countRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
.post("Uncompressed".toRequestBody()) .gzip() .build(), ).execute() val responseBody = response.body assertThat(responseBody.string(), "Expected response body to be valid") .isEqualTo("Uncompressed") responseBody.close() networkLogs .assertLogEqual("--> POST $url http/1.1") .assertLogEqual("Content-Encoding: gzip")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 37.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java
shift += 24; len += 3; } else { int codePoint = Character.codePointAt(input, i); if (codePoint == c) { // not a valid code point; let the JDK handle invalid Unicode return hashBytes(input.toString().getBytes(charset)); } i++; buffer |= codePointToFourUtf8Bytes(codePoint) << shift;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 11.8K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
/** * Validate host name */ private boolean isValidHost(String host) { if (host == null || host.isEmpty()) { return false; } // Check for valid hostname or IP address // Simple validation - can be enhanced if (host.length() > 255) { return false; } // Check for invalid charactersRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
recordNameField.setAccessible(true); Name mockRecordName = new Name(mockConfig); recordNameField.set(nameQueryResponse, mockRecordName); // Prepare a byte array with valid NetBIOS name format byte[] src = new byte[100]; int srcIndex = 0; // Start with compressed name pointer (0xC0) to use questionName src[srcIndex] = (byte) 0xC0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
assertEquals(CrawlerStatus.INITIALIZING, values[0]); assertEquals(CrawlerStatus.RUNNING, values[1]); assertEquals(CrawlerStatus.DONE, values[2]); } /** * Test valueOf method with valid values */ public void test_valueOf_valid() { assertEquals(CrawlerStatus.INITIALIZING, CrawlerStatus.valueOf("INITIALIZING")); assertEquals(CrawlerStatus.RUNNING, CrawlerStatus.valueOf("RUNNING"));
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
// These contain bytes not in the decodabet. assertFailsToDecode(base16(), "\n\n", "Unrecognized character: 0xa"); assertFailsToDecode(base16(), "EFGH", "Unrecognized character: G"); // Valid base16 strings always have an even length. assertFailsToDecode(base16(), "A", "Invalid input length 1"); assertFailsToDecode(base16(), "ABC"); // These have a combination of invalid length and unrecognized characters.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractService.java
} } /** * @see Service#failureCause() */ Throwable failureCause() { checkState( state == FAILED, "failureCause() is only valid if the service has failed, service is %s", state); // requireNonNull is safe because the constructor requires a non-null cause with state=FAILED. return requireNonNull(failure); } }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 20.7K bytes - Viewed (0)