- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 1,071 for measure (0.05 seconds)
-
guava-tests/test/com/google/common/io/CharSinkTest.java
TestCharSource failSource = new TestCharSource(STRING, option); TestCharSink okSink = new TestCharSink(); assertThrows(IOException.class, () -> failSource.copyTo(okSink)); // ensure writer was closed IF it was opened (depends on implementation whether or not it's // opened at all if source.newReader() throws). assertTrue(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.7K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/elasticsearch.fips.gradle
copy 'fips_java.policy' copy 'cacerts.bcfks' } project.afterEvaluate { def extraFipsJars = configurations.detachedConfiguration(bcFips, bcTlsFips) // ensure that bouncycastle is on classpath for the all of test types, must happen in evaluateAfter since the rest tests explicitly // set the class path to help maintain pure black box testing, and here we are adding to that classpath
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Sep 21 11:03:02 GMT 2021 - 4.8K bytes - Click Count (0) -
build-tools-internal/src/integTest/resources/org/elasticsearch/gradle/fake_elasticsearch-with-added-config.tar.gz
directory -Djava.io.tmpdir=${ES_TMPDIR} ## heap dumps # generate a heap dump when an allocation from the Java heap fails # heap dumps are created in the working directory of the JVM -XX:+HeapDumpOnOutOfMemor # specify an alternative path for heap dumps; ensure the directory exists and # has sufficient space -XX:HeapDumpPath=data # specify an alternative path for JVM fatal error logs -XX:ErrorFile=logs/hs_err_pid%p.log ## GC logging -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:file...Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.2K bytes - Click Count (0) -
build-tools-internal/src/integTest/resources/org/elasticsearch/gradle/fake_elasticsearch.tar.gz
directory -Djava.io.tmpdir=${ES_TMPDIR} ## heap dumps # generate a heap dump when an allocation from the Java heap fails # heap dumps are created in the working directory of the JVM -XX:+HeapDumpOnOutOfMemor # specify an alternative path for heap dumps; ensure the directory exists and # has sufficient space -XX:HeapDumpPath=data # specify an alternative path for JVM fatal error logs -XX:ErrorFile=logs/hs_err_pid%p.log ## GC logging -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:file...Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.1K bytes - Click Count (0) -
tests/error_translator_test.go
t.Fatalf("expected err: %v got err: %v", gorm.ErrDuplicatedKey, err) } } func TestSupportedDialectorWithErrForeignKeyViolated(t *testing.T) { tidbSkip(t, "not support the foreign key feature") type City struct { gorm.Model Name string `gorm:"unique"` } type Museum struct { gorm.Model Name string `gorm:"unique"` CityID uint
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 3.1K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/skip/Skip.java
import org.elasticsearch.gradle.internal.test.rest.transform.RestTestTransformGlobalSetup; import org.elasticsearch.gradle.internal.test.rest.transform.feature.FeatureInjector; import org.gradle.api.tasks.Input; import org.gradle.api.tasks.Internal; import org.jetbrains.annotations.Nullable; import java.util.Iterator; import java.util.Map; import java.util.Set;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 30 16:30:48 GMT 2021 - 4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
assertEquals(NtStatus.NT_STATUS_UNSUCCESSFUL, ex.getNtStatus()); // Verify: constructor should not have interacted with the cause Mockito.verifyNoInteractions(mockCause); } /** * Ensure toString includes the exception class name and message, providing a readable representation. */ @Test @DisplayName("toString contains class name and message") void toString_containsClassAndMessage() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java
* @param errorPoms the set of POMs that had errors */ public record UpgradeResult(Set<Path> processedPoms, Set<Path> modifiedPoms, Set<Path> errorPoms) { public UpgradeResult { // Defensive copying to ensure immutability processedPoms = Set.copyOf(processedPoms); modifiedPoms = Set.copyOf(modifiedPoms); errorPoms = Set.copyOf(errorPoms); } /**
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 3.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java
/** * Resident invoker implementation, specialization of Maven Invoker, but keeps Maven instance resident. This implies, that * things like environment, system properties, extensions etc. are loaded only once. It is caller duty to ensure * that subsequent call is right for the resident instance (ie no env change or different extension needed). * This implementation "pre-populates" MavenContext with pre-existing stuff (except for very first call)
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 4.1K bytes - Click Count (0) -
internal/bucket/bandwidth/reader.go
need = int(math.Min(float64(b-hdr), float64(need))) // use remaining tokens towards payload tokens = need + hdr } else { // part of header can be accommodated r.opts.HeaderSize -= b - 1 need = 1 // to ensure we read at least one byte for every Read tokens = b } } else { // all tokens go towards payload need = int(math.Min(float64(b), float64(need))) tokens = need }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.3K bytes - Click Count (0)