- Sort Score
- Num 10 results
- Language All
Results 3701 - 3710 of 7,804 for RETURN (0.04 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/QueuePollTester.java
@CollectionSize.Require(ZERO) public void testPoll_empty() { assertNull("emptyQueue.poll() should return null", getQueue().poll()); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ONE) public void testPoll_size1() { assertEquals("size1Queue.poll() should return first element", e0(), getQueue().poll()); expectMissing(e0()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.5K bytes - Click Count (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractRepositoryTestCase.java
session.setTransferListener(new ConsoleTransferListener()); session.setRepositoryListener(new ConsoleRepositoryListener()); return session.build(); } public static RemoteRepository newTestRepository() throws MalformedURLException { return new RemoteRepository.Builder( "repo", "default",
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
try { return !cls.getDeclaredMethod("equals", Object.class).isSynthetic(); } catch (NoSuchMethodException e) { return false; } } abstract static class Chopper { final Chopper or(Chopper you) { Chopper i = this; return new Chopper() { @Override @Nullable String chop(String str) { String result = i.chop(str);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 17.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java
assertNull( "putIfAbsent(notPresent, value) should return null", getMap().putIfAbsent(k3(), v3())); expectAdded(e3()); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutIfAbsent_supportedPresent() { assertEquals( "putIfAbsent(present, value) should return existing value", v0(), getMap().putIfAbsent(k0(), v3()));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 02:04:51 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
/** * Get the AP options flags. * * @return the AP options byte */ public byte getApOptions() { return this.apOptions; } /** * Get the Kerberos ticket from this AP request. * * @return the Kerberos ticket */ public KerberosTicket getTicket() { return this.ticket; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java
result += matcher.countIn(teststring); } return result; } @Benchmark public int collapseFrom(int reps) { int result = 0; CharMatcher matcher = this.matcher; String teststring = this.teststring; for (int i = 0; i < reps; i++) { result += System.identityHashCode(matcher.collapseFrom(teststring, ' ')); } return result; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.9K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java
result += matcher.countIn(teststring); } return result; } @Benchmark public int collapseFrom(int reps) { int result = 0; CharMatcher matcher = this.matcher; String teststring = this.teststring; for (int i = 0; i < reps; i++) { result += System.identityHashCode(matcher.collapseFrom(teststring, ' ')); } return result; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.9K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java
} @Override public ModelSource resolveModel(Parent parent) throws UnresolvableModelException { return null; } @Override public ModelSource resolveModel(Dependency dependency) throws UnresolvableModelException { return null; } @Override public void addRepository(Repository repository) throws InvalidRepositoryException {}Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComRename.java
return dstIndex - start; } @Override int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override public String toString() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComCreateDirectory.java
return 0; } @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override public String toString() { return ("SmbComCreateDirectory[" + super.toString() + ",directoryName=" + this.path + "]"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0)