- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 500 for preset (0.24 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java
@MapFeature.Require(absent = SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutIfAbsent_unsupportedPresentExistingValue() { try { assertEquals( "putIfAbsent(present, existingValue) should return present or throw", v0(), putIfAbsent(e0())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 4.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/build/BuildStateRegistry.java
/** * Locates an included build by {@link BuildIdentifier}, if present. Fails if not an included build. */ IncludedBuildState getIncludedBuild(BuildIdentifier buildIdentifier) throws IllegalArgumentException; /** * Locates a build. Fails if not present. */ BuildState getBuild(BuildIdentifier buildIdentifier) throws IllegalArgumentException; /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 23:08:19 UTC 2024 - 4.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
@CollectionSize.Require(absent = ZERO) public void testRemove_present() { int initialSize = collection.size(); assertTrue("remove(present) should return true", collection.remove(e0())); assertEquals( "remove(present) should decrease a collection's size by one.", initialSize - 1, collection.size()); expectMissing(e0()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 5.6K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/scopes/KtTypeScope.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 3.5K bytes - Viewed (0) -
src/runtime/tracestatus.go
case _Gsyscall: tgs = traceGoSyscall case _Gwaiting, _Gpreempted: // There are a number of cases where a G might end up in // _Gwaiting but it's actually running in a non-preemptive // state but needs to present itself as preempted to the // garbage collector. In these cases, we're not going to // emit an event, and we want these goroutines to appear in // the final trace as if they're running, not blocked.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:03:35 UTC 2024 - 7.2K bytes - Viewed (0) -
pkg/proxy/util/linebuffer.go
} // WriteBytes is part of LineBuffer func (buf *realLineBuffer) WriteBytes(bytes []byte) { buf.b.Write(bytes) buf.b.WriteByte('\n') buf.lines++ } // Reset is part of LineBuffer func (buf *realLineBuffer) Reset() { buf.b.Reset() buf.lines = 0 } // Bytes is part of LineBuffer func (buf *realLineBuffer) Bytes() []byte { return buf.b.Bytes() } // String is part of LineBuffer
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 3.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultDependencyManagementImporter.java
for (Dependency dependency : source.getDependencies()) { String key = dependency.getManagementKey(); Dependency present = dependencies.putIfAbsent(key, dependency); if (present != null && !equals(dependency, present) && !directDependencies.contains(key)) { // TODO: https://issues.apache.org/jira/browse/MNG-8004 problems.add(
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Jun 06 06:13:27 UTC 2024 - 6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteAMD64latelower.go
break } v.reset(OpAMD64SHLXL) v.AddArg2(x, y) return true } return false } func rewriteValueAMD64latelower_OpAMD64SHLQ(v *Value) bool { v_1 := v.Args[1] v_0 := v.Args[0] // match: (SHLQ x y) // cond: buildcfg.GOAMD64 >= 3 // result: (SHLXQ x y) for { x := v_0 y := v_1 if !(buildcfg.GOAMD64 >= 3) { break } v.reset(OpAMD64SHLXQ) v.AddArg2(x, y)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 3.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/metrics/metrics_test.go
# TYPE apiserver_authorization_decisions_total counter` metrics := []string{ namespace + "_" + subsystem + "_decisions_total", } authorizationDecisionsTotal.Reset() RegisterMetrics() dummyAuthorizer := &dummyAuthorizer{} a := InstrumentedAuthorizer("mytype", "myname", dummyAuthorizer) // allow { dummyAuthorizer.decision = authorizer.DecisionAllow
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 13:20:59 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java
@CollectionSize.Require(absent = ZERO) public void testRemove_present() { int initialSize = getMap().size(); assertEquals("remove(present) should return the associated value", v0(), getMap().remove(k0())); assertEquals( "remove(present) should decrease a map's size by one.", initialSize - 1, getMap().size()); expectMissing(e0()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 5.9K bytes - Viewed (0)