- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 771 for Prevent (0.03 sec)
-
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: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 21:04:02 UTC 2025 - 5.6K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
for { word, cond, operands, ok := p.line(scratch) if !ok { break } scratch = operands if p.pseudo(word, operands) { continue } i, present := p.arch.Instructions[word] if present { p.instruction(i, word, cond, operands) continue } p.errorf("unrecognized instruction %q", word) } if p.errorCount > 0 { return nil, false } p.patch()
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 14 15:13:11 UTC 2025 - 37.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java
@ParameterizedTest(name = "session error {1} -\\u003e {2}") @CsvSource({ "-1,Connection refused", "0x80,Not listening on called name", "0x81,Not listening for calling name", "0x82,Called name not present", "0x83,Called name present, but insufficient resources", "0x8F,Unspecified error", "999,Unknown error code: 999" }) @DisplayName("getErrorString for SSN service errors")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java
} @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE}) @CollectionSize.Require(absent = ZERO) public void testCompute_presentToPresent() { assertEquals( "Map.compute(present, functionReturningValue) should return new value", v3(), getMap() .compute( k0(), (k, v) -> { assertEquals(k0(), k);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
prepareMinimalSecurityDescriptorBuffer(testBuffer, 0, true, false, false); int size = securityDescriptor.decode(testBuffer, 0, testBuffer.length); // decode returns 0 when no DACL is present (falls through) assertEquals(0, size); assertNotNull(securityDescriptor.getOwnerUserSid()); assertNull(securityDescriptor.getOwnerGroupSid()); assertNull(securityDescriptor.getAces()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.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(), getMap().putIfAbsent(k0(), v0())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.9K bytes - Viewed (0) -
cmd/object-lambda-handlers.go
if err != nil { return levent.Event{}, err } ckSum := sha256.Sum256([]byte(cred.AccessKey + u.RawQuery)) eventData := levent.Event{ GetObjectContext: &levent.GetObjectContext{ InputS3URL: u.String(), OutputRoute: shortuuid.New(), OutputToken: hex.EncodeToString(ckSum[:]), }, UserRequest: levent.UserRequest{ URL: r.URL.String(), Headers: r.Header.Clone(),
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jul 18 21:56:31 UTC 2025 - 6.5K 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: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 5.9K bytes - Viewed (0) -
cmd/object-lambda-handlers_test.go
return levent.Event{ GetObjectContext: &levent.GetObjectContext{ OutputRoute: functionID, OutputToken: functionToken, InputS3URL: "http://localhost/dummy", }, UserRequest: levent.UserRequest{ Headers: map[string][]string{}, }, UserIdentity: levent.Identity{ PrincipalID: "test-user", },
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jul 18 21:56:31 UTC 2025 - 5.2K bytes - Viewed (0)