- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 2,464 for method (0.05 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComTreeDisconnectTest.java
// Then assertEquals(ServerMessageBlock.SMB_COM_TREE_DISCONNECT, smbComTreeDisconnect.command, "Command should be SMB_COM_TREE_DISCONNECT"); } /** * Test the writeParameterWordsWireFormat method. */ @Test void testWriteParameterWordsWireFormat() { // Given SmbComTreeDisconnect smbComTreeDisconnect = new SmbComTreeDisconnect(); byte[] dst = new byte[10];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
// Test ID item.setId("custom-id"); assertEquals("custom-id", item.getId()); } @Test public void testIsBadWord() { // Test isBadWord method String[] text = { "test", "text" }; String[][] readings = { { "test" }, { "text" } }; SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 1.0f, null, null, null, SuggestItem.Kind.QUERY);Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K 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/util/concurrent/AbstractScheduledService.java
* {@link #runOneIteration} and {@link #shutDown} methods. If this method is overridden the * executor will not be {@linkplain ScheduledExecutorService#shutdown shutdown} when this service * {@linkplain Service.State#TERMINATED terminates} or {@linkplain Service.State#TERMINATED * fails}. Subclasses may override this method to supply a custom {@link ScheduledExecutorService} * instance. This method is guaranteed to only be called once. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.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) -
android/guava/src/com/google/common/hash/LongAdder.java
import java.util.concurrent.atomic.AtomicLong; /** * One or more variables that together maintain an initially zero {@code long} sum. When updates * (method {@link #add}) are contended across threads, the set of variables may grow dynamically to * reduce contention. Method {@link #sum} (or, equivalently, {@link #longValue}) returns the current * total combined across the variables maintaining the sum. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Mar 20 13:05:10 UTC 2025 - 5.5K 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) -
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) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Provides.java
import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Marks a method as a provider of beans for dependency injection. * <p> * This annotation can be used on static methods to programmatically create and configure * beans that will be managed by the dependency injection container. It's particularly
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jan 30 23:28:59 UTC 2025 - 1.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)