Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 2,711 for create (0.06 sec)

  1. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

    import jcifs.SmbResourceLocator;
    
    @ExtendWith(MockitoExtension.class)
    class SmbEnumerationUtilTest {
    
        @Mock
        SmbFilenameFilter fnf;
    
        @Mock
        SmbFileFilter ff;
    
        // Utility to create a private inner class instance reflectively
        private static Object newPrivateInner(String simpleName, Class<?>[] paramTypes, Object... args) {
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/MoreObjects.java

        private ValueHolder holderTail = holderHead;
        private boolean omitNullValues = false;
        private boolean omitEmptyValues = false;
    
        /** Use {@link MoreObjects#toStringHelper(Object)} to create an instance. */
        private ToStringHelper(String className) {
          this.className = checkNotNull(className);
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

        void testGetSecurityWithValidSecurityDescriptor() throws Exception {
            // Setup mock ShareInfo502 with a minimal valid security descriptor
            srvsvc.ShareInfo502 info502 = new srvsvc.ShareInfo502();
            // Create a minimal valid security descriptor binary
            // Format: revision(1) + sbz1(1) + control(2) + ownerOffset(4) + groupOffset(4) + saclOffset(4) + daclOffset(4) = 20 bytes minimum
            byte[] securityDescriptorBytes = new byte[20];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            testNonce = new byte[16];
            new SecureRandom().nextBytes(testNonce);
            testSessionId = 0x123456789ABCDEF0L;
        }
    
        @Test
        @DisplayName("Should create transform header with correct size")
        void testTransformHeaderSize() {
            // When
            int headerSize = transformHeader.size();
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. cmd/update_test.go

    		tmpfile, err := os.CreateTemp(t.TempDir(), "helm-testfile-")
    		if err != nil {
    			t.Fatalf("Unable to create temporary file. %s", err)
    		}
    		if _, err = tmpfile.WriteString(content); err != nil {
    			t.Fatalf("Unable to create temporary file. %s", err)
    		}
    		if err = tmpfile.Close(); err != nil {
    			t.Fatalf("Unable to create temporary file. %s", err)
    		}
    		return tmpfile.Name()
    	}
    
    	filename := createTempFile(
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

        // we intercept the factory call.
        private MockedStatic<SmbTransport> smbtStatic;
    
        @BeforeEach
        void setUp() throws Exception {
            // Create a real NtlmPasswordAuthentication instance
            auth = new NtlmPasswordAuthentication("TESTDOMAIN", "testuser", "testpass");
    
            // Initialize ServerData to avoid NullPointerException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

    package jcifs.internal.smb2.create;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java

    /**
     * Service for creating {@link PathMatcher} objects that can be used to filter files
     * based on include/exclude patterns. This service provides a clean API for plugins
     * to create path matchers without directly depending on implementation classes.
     * <p>
     * The path matchers created by this service support Maven's traditional include/exclude
     * pattern syntax, which is compatible with the behavior of Maven 3 plugins like
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 21 19:37:56 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ListeningScheduledExecutorService.java

    import java.util.concurrent.TimeUnit;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link ScheduledExecutorService} that returns {@link ListenableFuture} instances from its
     * {@code ExecutorService} methods. To create an instance from an existing {@link
     * ScheduledExecutorService}, call {@link
     * MoreExecutors#listeningDecorator(ScheduledExecutorService)}.
     *
     * @author Chris Povirk
     * @since 10.0
     */
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 17:30:04 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/UndirectedNetworkConnections.java

      UndirectedNetworkConnections(Map<E, N> incidentEdgeMap) {
        super(incidentEdgeMap);
      }
    
      static <N, E> UndirectedNetworkConnections<N, E> of() {
        return new UndirectedNetworkConnections<>(HashBiMap.<E, N>create(EXPECTED_DEGREE));
      }
    
      static <N, E> UndirectedNetworkConnections<N, E> ofImmutable(Map<E, N> incidentEdges) {
        return new UndirectedNetworkConnections<>(ImmutableBiMap.copyOf(incidentEdges));
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top