Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 245 for isInitialized (0.08 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class AbstractListTester<E extends @Nullable Object> extends AbstractCollectionTester<E> {
      /*
       * Previously we had a field named list that was initialized to the value of
       * collection in setUp(), but that caused problems when a tester changed the
       * value of list or collection but not both.
       */
      protected final List<E> getList() {
        return (List<E>) collection;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java

            ptypeField.setAccessible(true);
            int ptypeValue = (int) ptypeField.get(msrpcSamrConnect2);
            assertEquals(0, ptypeValue, "The 'ptype' field should be initialized to 0");
        }
    
        @Test
        @DisplayName("Should set flags to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG")
        void shouldSetFlagsCorrectly() throws NoSuchFieldException, IllegalAccessException {
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            Field recordNameField = NameServicePacket.class.getDeclaredField("recordName");
            recordNameField.setAccessible(true); // Allow access to protected field
            Name recordName = (Name) recordNameField.get(nameQueryResponse);
            assertNotNull(recordName, "recordName should be initialized by the constructor");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. internal/dsync/dsync-client_test.go

    type ReconnectRESTClient struct {
    	u    *url.URL
    	rest *rest.Client
    }
    
    // newClient constructs a ReconnectRESTClient object with addr and endpoint initialized.
    // It _doesn't_ connect to the remote endpoint. See Call method to see when the
    // connect happens.
    func newClient(endpoint string) NetLocker {
    	u, err := url.Parse(endpoint)
    	if err != nil {
    		panic(err)
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jan 20 17:36:09 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/NullnessCasts.java

       * its runtime check.
       *
       * <p>An example use case for this method is in implementing an {@code Iterator<T>} whose {@code
       * next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the
       * code would be responsible for populating a "real" {@code T} (which might still be the value
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/NullnessCasts.java

       * its runtime check.
       *
       * <p>An example use case for this method is in implementing an {@code Iterator<T>} whose {@code
       * next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the
       * code would be responsible for populating a "real" {@code T} (which might still be the value
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. internal/cachevalue/cache.go

    	Once sync.Once
    
    	// Managed values.
    	val          atomic.Pointer[T]
    	lastUpdateMs atomic.Int64
    	updating     sync.Mutex
    }
    
    // New allocates a new cached value instance. Tt must be initialized with
    // `.TnitOnce`.
    func New[T any]() *Cache[T] {
    	return &Cache[T]{}
    }
    
    // NewFromFunc allocates a new cached value instance and initializes it with an
    // update function, making it ready for use.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

        @Test
        void testInheritedFields() throws Exception {
            // Verify inherited fields are properly set
            assertEquals(0x10, msrpcShareGetInfo.getOpnum());
    
            // Test that the info field is properly initialized
            Field infoField = msrpcShareGetInfo.getClass().getSuperclass().getDeclaredField("info");
            infoField.setAccessible(true);
            Object info = infoField.get(msrpcShareGetInfo);
            assertNotNull(info);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  9. cmd/http-tracer_test.go

    				_ = bucketStats.load(bucketName)
    			}
    		}(i)
    	}
    	wg.Wait()
    
    	stats := bucketStats.load("test-bucket")
    	if stats.totalS3Requests == nil {
    		t.Error("Expected bucket stats to be initialized")
    	}
    	t.Logf("Bucket HTTP stats race test passed")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

     * allowing for URL-based client selection. Clients can be added with specific patterns
     * and optionally at specific positions in the processing order.</p>
     *
     * <p>This factory is typically initialized through dependency injection and can be
     * configured with initialization parameters that are passed to all registered clients.</p>
     *
     * <p>Features:</p>
     * <ul>
     *   <li>Pattern-based client mapping</li>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top