Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 368 for instantiable (0.07 seconds)

  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
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 4.2K bytes
    - Click Count (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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.1K bytes
    - Click Count (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
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 4.2K bytes
    - Click Count (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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  5. 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 {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  6. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  7. 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 {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  8. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

            () -> tester.instantiate(FactoryMethodReturnsNullAndAnnotated.class));
      }
    
      public void testInstantiate_factoryMethodAcceptsNull() throws Exception {
        assertThat(tester.instantiate(FactoryMethodAcceptsNull.class).name).isNull();
      }
    
      public void testInstantiate_factoryMethodDoesNotAcceptNull() throws Exception {
        assertThat(tester.instantiate(FactoryMethodDoesNotAcceptNull.class).name).isNotNull();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  9. misc/wasm/wasm_exec.html

    	<script>
    		if (!WebAssembly.instantiateStreaming) { // polyfill
    			WebAssembly.instantiateStreaming = async (resp, importObject) => {
    				const source = await (await resp).arrayBuffer();
    				return await WebAssembly.instantiate(source, importObject);
    			};
    		}
    
    		const go = new Go();
    		let mod, inst;
    		WebAssembly.instantiateStreaming(fetch("test.wasm"), go.importObject).then((result) => {
    			mod = result.module;
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Aug 30 19:15:21 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  10. 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)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Nov 29 06:35:16 GMT 2023
    - 2.8K bytes
    - Click Count (0)
Back to Top