Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 356 for instantiable (0.3 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaProviderFactory.java

     */
    public class RdmaProviderFactory {
    
        /**
         * Private constructor to prevent instantiation
         */
        private RdmaProviderFactory() {
            // Factory class - not instantiable
        }
    
        private static final Logger log = LoggerFactory.getLogger(RdmaProviderFactory.class);
    
        /**
         * Create RDMA provider based on preference string
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/Base64.java

     */
    public class Base64 {
    
        /**
         * Private constructor to prevent instantiation of this utility class.
         */
        private Base64() {
            // Utility class - not instantiable
        }
    
        private static final String ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
    
        /**
         * Base-64 encodes the supplied block of data.  Line wrapping is not
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/BufferCache.java

     */
    public class BufferCache {
    
        /**
         * Private constructor to prevent instantiation of this utility class.
         */
        private BufferCache() {
            // Utility class - not instantiable
        }
    
        private static final int MAX_BUFFERS = Config.getInt("jcifs.smb1.smb.maxBuffers", 16);
        private static final int MAX_BUFFER_SIZE = 0x100000; // 1MB maximum
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Config.java

     *
     */
    public class Config {
    
        /**
         * Private constructor to prevent instantiation of this utility class.
         */
        private Config() {
            // Utility class - not instantiable
        }
    
        private static final Logger log = LoggerFactory.getLogger(Config.class);
    
        /**
         * This static method registers the SMB URL protocol handler which is
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/StringsTest.java

                    assertEquals(original, uniRoundTrip, "UNI round-trip should preserve content: " + original);
                }
            }
    
            @Test
            @DisplayName("Strings utility class should not be instantiable")
            void testUtilityClassNotInstantiable() {
                // Given - Strings is a utility class with private constructor
    
                // When & Then - verify constructor is private by reflection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/PredicatesTest.java

            @Override
            public boolean apply(@Nullable Integer i) {
              throw new AssertionFailedError("This predicate should never have been evaluated");
            }
          };
    
      /** Instantiable predicate with reasonable hashCode() and equals() methods. */
      static class IsOdd implements Predicate<@Nullable Integer>, Serializable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

            () -> tester.instantiate(FactoryMethodReturnsNullAndAnnotated.class));
      }
    
      public void testInstantiate_factoryMethodAcceptsNull() throws Exception {
        assertNull(tester.instantiate(FactoryMethodAcceptsNull.class).name);
      }
    
      public void testInstantiate_factoryMethodDoesNotAcceptNull() throws Exception {
        assertNotNull(tester.instantiate(FactoryMethodDoesNotAcceptNull.class).name);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          nullPointerTester.testConstructors(cls, visibility);
        }
        nullPointerTester.testStaticMethods(cls, visibility);
        if (hasInstanceMethodToTestNulls(cls, visibility)) {
          Object instance = instantiate(cls);
          if (instance != null) {
            nullPointerTester.testInstanceMethods(instance, visibility);
          }
        }
      }
    
      private boolean hasInstanceMethodToTestNulls(Class<?> c, Visibility visibility) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  9. cmd/xl-storage_windows_test.go

    		{string(bytes.Repeat([]byte("界"), 85)), true},
    		// Each path component must be <= 255 bytes long.
    		{string(bytes.Repeat([]byte("界"), 280)), false},
    		{`/p/q/r/s/t`, true},
    	}
    	dir := t.TempDir()
    
    	// Instantiate posix object to manage a disk
    	fs, err := newLocalXLStorage(dir)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Create volume to use in conjunction with other StorageAPI's file API(s)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Nov 29 06:35:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapGetTester.java

    import org.junit.Ignore;
    
    /**
     * Tester for {@link SortedSetMultimap#get(Object)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top