- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 833 for ensures (0.05 seconds)
-
cmd/encryption-v1_test.go
t.Errorf("Case %d: test failed: %d %d %d %d %d", i, o, l, skip, sn, ps) } } // Skip 1Mib and read 1Mib (in the decrypted object) // // The check below ensures the object is large enough // for the read. if lsum(test.decSizes) >= 2*humanize.MiByte { skipLen, readLen := int64(1)*humanize.MiByte, int64(1)*humanize.MiByte
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
assertEquals(before + 1, after); // default implementation pads and calls process() processCalled--; // don't count the tail invocation (makes tests a bit more understandable) } // ensures that the number of invocations looks sane void assertInvariants(int expectedBytes) { // we should have seen as many bytes as the next multiple of chunk after expectedBytes - 1
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 8.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/DataIndexHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 19K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportInternal.java
* @return whether the connection was in use * @throws IOException if an I/O error occurs during disconnection */ boolean disconnect(boolean hard, boolean inuse) throws IOException; /** * Ensures the transport is connected to the remote server. * * @return whether the transport was connected * @throws SmbException if an SMB error occurs * @throws IOException if an I/O error occurs */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
} @Test public void test_genericTypeSafety_consistencyBetweenConstructorAndGetter() { // Verify consistency between constructor parameter type and getter return type // This test ensures the generic type change is consistent throughout the class // Test with RootAction.class Class<? extends RootAction> inputClass1 = RootAction.class;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
assertNotNull(buffer, "Buffer should not be null"); assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer.length, "Buffer should have TRANSACTION_BUF_SIZE"); // The validation in getBuffer() ensures size is within bounds (0 < size <= 1MB) assertTrue(buffer.length > 0, "Buffer size should be positive"); assertTrue(buffer.length <= 0x100000, "Buffer size should not exceed 1MB"); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
* since it represents a POM file that is actively being built and may change during the build process. * <p> * The request-scoped retention policy ensures that: * <ul> * <li>Changes to the POM file during the build are detected</li> * <li>Cache entries don't persist beyond the current build request</li>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 8.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableMultiset.java
return true; } } } return false; } /** * Closed addressing tends to perform well even with high load factors. Being conservative here * ensures that the table is still likely to be relatively sparse (hence it misses fast) while * saving space. */ @VisibleForTesting static final double MAX_LOAD_FACTOR = 1.0; /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 6.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java
*/ public boolean isDeleted() { return isUpdated() && newInputs.length == 0; } /** * Sorts both the current inputs and new inputs arrays in place. * This ensures consistent ordering for comparison and equality operations. */ public void sort() { if (inputs != null) { Arrays.sort(inputs); } if (newInputs != null) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 7.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
* shouldn't) * * Our solution is for threads to CAS seenExceptionsField from null to a Set populated with _the * initial exception_, no matter which thread does the work. This ensures that * seenExceptionsField always contains not just the current thread's exception but also the * initial thread's. */ Set<Throwable> seenExceptionsLocal = seenExceptionsField;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.5K bytes - Click Count (0)