- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 867 for VALID (0.03 seconds)
-
src/archive/zip/writer.go
Name: name, Method: Deflate, } return w.CreateHeader(header) } // detectUTF8 reports whether s is a valid UTF-8 string, and whether the string // must be considered UTF-8 encoding (i.e., not compatible with CP-437, ASCII, // or any other common encoding). func detectUTF8(s string) (valid, require bool) { for i := 0; i < len(s); { r, size := utf8.DecodeRuneInString(s[i:]) i += size
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jan 28 04:20:09 GMT 2025 - 19.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java
assertNull(exception.getMessage()); assertNull(exception.getCause()); } @Test public void test_constructor_withNullMessageAndCause() { // Test constructor with null message but valid cause Exception cause = new IllegalArgumentException("Invalid argument"); DictionaryException exception = new DictionaryException(null, cause); assertNotNull(exception);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
assertNull(nc.dc); } } @Nested @DisplayName("toString() Tests") class ToStringTests { @Test @DisplayName("toString with valid data produces expected format") void testToStringWithValidData() { byte[] challenge = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0xFF }; UniAddress dc = mock(UniAddress.class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
assertEquals(len, result, "readDataWireFormat should return the length when pipeIn is null."); } /** * Tests the readDataWireFormat method when the pipe has a valid input stream. */ @Test void testReadDataWireFormat_withPipeIn() { // Setup the mock pipe and its input stream mockPipe.pipeIn = mockPipeIn;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java
getMultiset().setCount(e0(), 1, 5)); expectContents(nCopies(3, e0())); } /* * TODO: test that unmodifiable multisets either throw UOE or return false * when both are valid options. Currently we test the UOE cases and the * return-false cases but not their intersection */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryCommandTemplateMethodTest.java
queryFieldConfig.setSearchFields(searchFields); } /** * Test isSearchField() with Set-based lookup. */ @Test public void test_isSearchField_withSetBasedLookup() { // Test valid search fields assertTrue(queryCommand.isSearchField("title")); assertTrue(queryCommand.isSearchField("content")); assertTrue(queryCommand.isSearchField("url"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt
} } return result.readUtf8() } /** * Converts a single label from Punycode to Unicode. * * @return true if the range of [string] from [pos] to [limit] was valid and decoded successfully. * Otherwise, the decode failed. */ private fun decodeLabel( string: String, pos: Int, limit: Int, result: Buffer, ): Boolean {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 8.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java
System.setProperty("fess.webapp.path", webappDir.toString()); System.setProperty("fess.conf.path", confDir.toString()); // Path under webapp (second property) should be valid final File testFile = new File(webappDir.toFile(), "test.html"); testFile.createNewFile(); action.validateFilePath(testFile.getAbsolutePath()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 22.7K bytes - Click Count (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
protected final long address; protected volatile boolean valid; public RdmaMemoryRegion(ByteBuffer buffer, EnumSet<RdmaAccess> access) { this.buffer = buffer; this.accessFlags = access; this.localKey = generateLocalKey(); this.remoteKey = generateRemoteKey(); this.address = getBufferAddress(buffer); this.valid = true; } public ByteBuffer getBuffer() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 35.9K bytes - Click Count (0) -
docs/debugging/xl-meta/main.go
} // Update to new config and add current valid := 0 for shardIdx, shard := range splitFilled[:k] { shardConfig[shardIdx] = shard[offset] valid += int(shard[offset]) if shard[offset] == 0 { shards[shardIdx] = shards[shardIdx][:0] } else {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 40.4K bytes - Click Count (0)