- Sort Score
- Result 10 results
- Languages All
Results 1731 - 1740 of 2,109 for collect (0.06 sec)
-
android/guava/src/com/google/common/base/FinalizableSoftReference.java
import java.lang.ref.SoftReference; import org.jspecify.annotations.Nullable; /** * Soft reference with a {@code finalizeReferent()} method which a background thread invokes after * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link * ReferenceQueue}. * * @author Bob Lee * @since 2.0 */ @J2ktIncompatible @GwtIncompatibleRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
@Mock DfsReferralData referral; // Reflection-based API checks ensure the interface contract is as expected @Test @DisplayName("Type hierarchy and method signatures are correct") void typeAndSignatures() throws Exception { Class<?> clazz = SmbResourceLocatorInternal.class; // Assert it's an interface and extends the right superinterfaceRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
assertTrue(nbtAddress.isPermanent(mockContext)); assertArrayEquals(testMacAddress, nbtAddress.getMacAddress(mockContext)); } @Test void testUnwrap() { // Test unwrap method for correct type casting mockName = new Name(mockConfig, "TEST", 0x20, null); NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
/** SMB2 session setup command */ protected static final short SMB2_SESSION_SETUP = 0x01; /** SMB2 logoff command */ protected static final short SMB2_LOGOFF = 0x02; /** SMB2 tree connect command */ protected static final short SMB2_TREE_CONNECT = 0x0003; /** SMB2 tree disconnect command */ protected static final short SMB2_TREE_DISCONNECT = 0x0004; /** SMB2 create/open file command */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java
// When MsrpcLsarOpenPolicy2 msrpcLsarOpenPolicy2 = new MsrpcLsarOpenPolicy2(server, access, mockPolicyHandle); // Then // Verify that the super constructor is called with correct arguments // Note: Directly verifying super constructor calls is not straightforward in JUnit/Mockito. // We verify the effects of the super constructor by checking the fields of the created object.Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelTransformer.java
* @since 4.0.0 */ @Experimental public interface ModelTransformer { /** * Apply a transformation on the file model. * * @param model the input model * @param problems the problem collector to report any issues encountered during transformation * @return the transformed model, or the input model if no transformation is needed */ @Nonnull Model transform(Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 1.5K bytes - Viewed (0) -
.github/workflows/mint/nginx-4-node.conf
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-NginX-Proxy true; # This is necessary to pass the correct IP to be hashed real_ip_header X-Real-IP; proxy_connect_timeout 300; # To support websocket proxy_http_version 1.1;Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed May 15 16:52:29 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
ResourceHolder holder = entry.getValue(); // Check if resource is abandoned if (!holder.closed && !holder.isAlive()) { // Resource object has been garbage collected but not closed reportLeak(holder); activeResources.remove(entry.getKey()); cleaned++; } else if (!holder.closed && holder.getAge() > maxResourceAge * 2) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
sb = new StringBuffer(); ace.appendCol(sb, "longer string", 5); assertEquals("longer string", sb.toString()); } @Test @DisplayName("Test getFlags returns correct value") void testGetFlags() { ace.flags = 0x00; assertEquals(0x00, ace.getFlags()); ace.flags = 0xFF; assertEquals(0xFF, ace.getFlags());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertEquals("0011", Hexdump.toHexString(data4, 2, 4)); // Bug: ignores srcIndex, reads from 0 } @Test @DisplayName("Should perform hexdump with correct formatting") void testHexdump() { // Capture output ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintStream ps = new PrintStream(baos);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0)