- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 684 for ensures (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
Map<Object, Integer> indexByLock = new HashMap<>(); for (int i = 0; i < striped.size(); i++) { indexByLock.put(striped.getAt(i), i); } // ensure that bulkGet returns locks in monotonically increasing order for (int objectsNum = 1; objectsNum <= striped.size() * 2; objectsNum++) { Set<Object> objects = Sets.newHashSetWithExpectedSize(objectsNum);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.1K bytes - Click Count (0) -
cmd/untar.go
}, { header: []byte{0x42, 0x5a, 'h'}, f: formatBZ2, }, } type untarOptions struct { ignoreDirs bool ignoreErrs bool prefixAll string } // disconnectReader will ensure that no reads can take place on // the upstream reader after close has been called. type disconnectReader struct { r io.Reader mu sync.Mutex } func (d *disconnectReader) Read(p []byte) (n int, err error) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 6K bytes - Click Count (2) -
android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java
import com.google.common.util.concurrent.AbstractFutureBenchmarks.Impl; import java.util.HashSet; import java.util.Set; import java.util.concurrent.Executor; import org.jspecify.annotations.NullUnmarked; /** Measures the size of AbstractFuture implementations. */ @NullUnmarked public class AbstractFutureFootprintBenchmark { enum State { NOT_DONE, FINISHED, CANCELLED, FAILED }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java
// Verify - invalid case format should return empty due to exception assertFalse(result.isPresent()); } // Test multiple calls to ensure consistency @Test public void test_findBusinessLocale_multipleCallsConsistency() { // Setup mock config FessConfig mockConfig = new FessConfig.SimpleImpl() { @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
assertTrue(type1Token.length > 0); // Decode the token to verify its properties Type1Message type1Message = new Type1Message(type1Token); // Type1Message ORs default flags with provided flags; ensure expected bits are present assertTrue((type1Message.getFlags() & context.ntlmsspFlags) == context.ntlmsspFlags); assertEquals(domain, type1Message.getSuppliedDomain()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
android/guava/src/com/google/common/io/LineBuffer.java
line = new StringBuilder(); sawReturn = false; return sawNewline; } /** * Subclasses must call this method after finishing character processing, in order to ensure that * any unterminated line in the buffer is passed to {@link #handleLine}. * * @throws IOException if an I/O error occurs */ protected void finish() throws IOException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 3.9K bytes - Click Count (0) -
ci/official/installer_wheel.sh
# RECORD file which contains hashes of all included files. python3 -m wheel pack "${pkg_name}" done # Switch back to the original working directory. This is needed to ensure that # cleanup steps at the end of the script works as expected. popd echo "Following installer wheels were generated: " ls "${TFCI_OUTPUT_DIR}"/*.whl if [[ "$TFCI_ARTIFACT_STAGING_GCS_ENABLE" == 1 ]]; then
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Mar 04 22:39:12 GMT 2025 - 3.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
super.setUp(testInfo); // Create a temporary test file testFile = File.createTempFile("test_mapping", ".txt"); testFile.deleteOnExit(); // Ensure the test file is initially empty try (java.io.FileWriter fw = new java.io.FileWriter(testFile)) { fw.write(""); } // Create a temporary project.properties file for SystemHelper
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts
applyRule<DependencyRemovalByNameRule>("org.apache.groovy:groovy-ant", setOf("ant-junit")) // GCS transitively depends on commons-logging. // Ensure jcl-over-slf4j is pulled in when we use GCS so it can conflict. applyRule<DependencyAdditionRule>("com.google.apis:google-api-services-storage", "org.slf4j:jcl-over-slf4j")
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 26 09:04:32 GMT 2026 - 9.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
for (int i = off; i < off + len; i++) { out.write(b[i]); } } else { out.write(b, off, len); } out.flush(); // for coverage } // TODO(chrisn): only works if we ensure we have crossed file threshold public void testWriteErrorAfterClose() throws Exception { byte[] data = newPreFilledByteArray(100); FileBackedOutputStream out = new FileBackedOutputStream(50);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 04:04:26 GMT 2026 - 8K bytes - Click Count (0)