- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 816 for Ensure (0.04 sec)
-
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
return (GetCheckedTypeValidator) theClass.getEnumConstants()[0]; } catch (ClassNotFoundException | RuntimeException | Error t) { // ensure we really catch *everything* return weakSetValidator(); } } } // TODO(cpovirk): change parameter order to match other helper methods (Class, Throwable)?
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 11.8K bytes - Viewed (0) -
guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java
this.replacementsLength = replacements.length; if (safeMax < safeMin) { // If the safe range is empty, set the range limits to opposite extremes // to ensure the first test of either value will fail. safeMax = -1; safeMin = Integer.MAX_VALUE; } this.safeMin = safeMin; this.safeMax = safeMax;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 8.5K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java
writer.write(newContent); } } catch (IOException e) { logError("Failed to write to file", e); throw e; // Re-throw to ensure the compilation fails } } else { logMessage(Diagnostic.Kind.NOTE, "Content unchanged. Skipping file update."); } } /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
long actualSize = MemoryUtil.sizeOf(complexMap); assertEquals(689L, actualSize); } public void test_getUsedMemory_variations() { // Test multiple calls to ensure consistency long memory1 = MemoryUtil.getUsedMemory(); assertTrue(memory1 >= 0); // Create some objects to change memory usage @SuppressWarnings("unused")
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/OptionalUtilTest.java
assertNull(emptyOptional.orElse(null)); } public void test_ofNullable_multipleTypesInSequence() { // Test multiple different types in sequence to ensure type safety OptionalEntity<String> stringOpt = OptionalUtil.ofNullable("string"); OptionalEntity<Integer> intOpt = OptionalUtil.ofNullable(42);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
TestCharSource okSource = new TestCharSource(STRING); assertThrows(IOException.class, () -> okSource.copyTo(new TestCharSink(option))); // ensure reader was closed IF it was opened (depends on implementation whether or not it's // opened at all if sink.newWriter() throws). assertTrue( "stream not closed when copying to sink with option: " + option,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
docs/en/docs/tutorial/body.md
<img src="/img/tutorial/body/image04.png"> This is not by chance, the whole framework was built around that design. And it was thoroughly tested at the design phase, before any implementation, to ensure it would work with all the editors. There were even some changes to Pydantic itself to support this.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:58:56 UTC 2025 - 7.1K bytes - Viewed (0) -
cmd/api-headers.go
// avoiding S3’s heuristic-driven issues. // // For MinIO developers, decode S3 metadata with mime.WordDecoder, validate outputs, // report encoding bugs to AWS, and use ASCII-only metadata to ensure reliable S3 API // compatibility. if needsMimeEncoding(v) { // see https://github.com/golang/go/blob/release-branch.go1.24/src/net/mail/message.go#L325 if strings.ContainsAny(v, "\"#$%&'(),.:;<>@[]^`{|}~") {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
void testTreeConnectLogonValid() throws Exception { SmbSessionImpl session = spy(newSession()); when(configuration.getLogonShare()).thenReturn("LOGON$"); // Mock tree and ensure it is returned by getSmbTree SmbTreeImpl tree = mock(SmbTreeImpl.class); doReturn(tree).when(session).getSmbTree(eq("LOGON$"), isNull()); // Act session.treeConnectLogon();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
} /** * Inner class for handling updates to the character mapping file. * This class manages the temporary file creation, writing operations, * and atomic updates to ensure data consistency during modifications. */ protected class MappingUpdater implements Closeable { /** Flag indicating whether changes should be committed to the file. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.9K bytes - Viewed (0)