- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 2,425 for Method (1.93 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
} /** * Returns the {@link Method} instances for the test methods in this class which call {@code * hashCode()} on the set values so that set tests on unhashable objects can suppress it with * {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method[] getHashCodeMethods() { return new Method[] {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 3.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ReflectionTest.java
} private static final InvocationHandler X_RETURNER = new InvocationHandler() { @Override public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { return "x"; } }; private static int classesInitialized = 0; private static class A { static { ++classesInitialized; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
* despite the @IgnoreJRERequirement annotation there. My assumption is that, because javac * generates a synthetic method for the body of the lambda, the actual method calls that Animal * Sniffer is flagging don't appear inside toImmutableSortedMultiset but rather inside that * synthetic method. By moving those calls to a named method, we're able to apply * @IgnoreJRERequirement somewhere that it will help. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 35.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
* this method has no effect and returns zero. */ @CanIgnoreReturnValue public long remove(K key) { Long result = map.remove(key); return (result == null) ? 0L : result.longValue(); } /** * If {@code (key, value)} is currently in the map, this method removes it and returns true; * otherwise, this method returns false. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java
} @Test void testEncode() throws NdrException { // Test the encode method long testValue = 987654321098765L; NdrHyper ndrHyper = new NdrHyper(testValue); // Call the encode method with the mocked NdrBuffer ndrHyper.encode(mockNdrBuffer); // Verify that enc_ndr_hyper was called exactly once with the correct valueRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSink.java
* * <p>{@code CharSink} provides two kinds of methods: * * <ul> * <li><b>Methods that return a writer:</b> These methods should return a <i>new</i>, independent * instance each time they are called. The caller is responsible for ensuring that the * returned writer is closed. * <li><b>Convenience methods:</b> These are implementations of common operations that areRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java
assertEquals(AvPair.MsvAvTimestamp, avTimestamp.getType()); assertEquals(timestamp, avTimestamp.getTimestamp()); // Verify encoding and decoding } /** * Test getTimestamp method with a positive timestamp. */ @Test public void testGetTimestampPositive() { long expectedTimestamp = 123456789012345L; byte[] rawBytes = new byte[8];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy
classes['NewSub'].superclass = classes['NewBase'] apiClass.compatibilityChanges >> [new JApiCompatibilityChange(JApiCompatibilityChangeType.METHOD_REMOVED_IN_SUPERCLASS)] } def "method removal can be reported if current class is first public class"() { given: apiClass.oldClass >> Optional.of(classes['OldBase']) apiClass.newClass >> Optional.of(classes['NewBase']) when:
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 24 14:15:15 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ParametricNullness.java
* String}. * </ul> * * This is the same behavior as type-variable usages have to Kotlin and to the Checker Framework. * Contrast the method above to: * * <ul> * <li>methods whose return type is a type variable but which can never return {@code null}, * typically because the type forbids nullable type arguments: For example, {@code
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 16:20:21 UTC 2024 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/graph/ParametricNullness.java
* String}. * </ul> * * This is the same behavior as type-variable usages have to Kotlin and to the Checker Framework. * Contrast the method above to: * * <ul> * <li>methods whose return type is a type variable but which can never return {@code null}, * typically because the type forbids nullable type arguments: For example, {@code
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 16:20:21 UTC 2024 - 3.1K bytes - Viewed (0)