Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 645 for initialize (0.45 sec)

  1. guava/src/com/google/common/util/concurrent/Striped.java

     * Striped<Semaphore>}, and {@linkplain #readWriteLock(int) strong} and {@linkplain
     * #lazyWeakReadWriteLock(int) weak} {@code Striped<ReadWriteLock>}. <i>Strong</i> means that all
     * stripes (locks/semaphores) are initialized eagerly, and are not reclaimed unless {@code Striped}
     * itself is reclaimable. <i>Weak</i> means that locks/semaphores are created lazily, and they are
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testKeySetIteratorRemove() {
        int initialSize = getNumElements();
        Iterator<K> iterator = getMap().keySet().iterator();
        iterator.next();
        iterator.remove();
        assertEquals(initialSize - 1, getMap().size());
        assertEquals(initialSize - 1, getMap().inverse().size());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.2K bytes
    - Viewed (1)
  3. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

            assertEquals(123, ndrSmall.value, "Value should be initialized correctly for valid input.");
        }
    
        @Test
        void testConstructor_maxValue() {
            // Test with the maximum byte value
            NdrSmall ndrSmall = new NdrSmall(255);
            assertEquals(255, ndrSmall.value, "Value should be initialized correctly for max byte value.");
        }
    
        @Test
        void testConstructor_zeroValue() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. cmd/healthcheck-handler.go

    		writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone)
    		return nil
    	}
    
    	if !globalBucketMetadataSys.Initialized() {
    		w.Header().Set(xhttp.MinIOServerStatus, "bucket-metadata-offline")
    		writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone)
    		return nil
    	}
    
    	if !globalIAMSys.Initialized() {
    		w.Header().Set(xhttp.MinIOServerStatus, "iam-offline")
    		writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 26 07:44:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        int initialSize = collection.size();
        assertTrue("remove(present) should return true", collection.remove(e0()));
        assertEquals(
            "remove(present) should decrease a collection's size by one.",
            initialSize - 1,
            collection.size());
        expectMissing(e0());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 21:04:02 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/message/MessageFormatterTest.java

            DisposableUtil.dispose();
            assertThat(MessageFormatter.initialized, is(not(true)));
    
            MessageFormatter.getMessage("EMSG0000");
            assertThat(MessageFormatter.initialized, is(true));
    
            DisposableUtil.dispose();
            assertThat(MessageFormatter.initialized, is(not(true)));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. schema/schema.go

    		namer:            namer,
    		initialized:      make(chan struct{}),
    	}
    	// When the schema initialization is completed, the channel will be closed
    	defer close(schema.initialized)
    
    	// Load exist schema cache, return if exists
    	if v, ok := cacheStore.Load(schemaCacheKey); ok {
    		s := v.(*Schema)
    		// Wait for the initialization of other goroutines to complete
    		<-s.initialized
    		return s, s.err
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 19 06:35:49 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Suppliers.java

          // A 2-field variant of Double Checked Locking.
          if (!initialized) {
            synchronized (lock) {
              if (!initialized) {
                T t = delegate.get();
                value = t;
                initialized = true;
                return t;
              }
            }
          }
          // This is safe because we checked `initialized`.
          return uncheckedCastNullableTToT(value);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

    /**
     * Tests for the MsrpcDfsRootEnum class.
     * This class uses JUnit 5 for testing.
     */
    class MsrpcDfsRootEnumTest {
    
        /**
         * Test the constructor of MsrpcDfsRootEnum.
         * Verifies that the object is initialized with the correct default values.
         */
        @Test
        void testConstructor() {
            // Given
            String serverName = "test-server";
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            // Test we can read the initial file that was created
            SmbFile initialFile = new SmbFile(baseUrl + "shared/initial.txt", context);
            assertTrue(initialFile.exists(), "Initial file should exist");
            assertTrue(initialFile.isFile(), "Initial file should be a file");
            assertTrue(initialFile.canRead(), "Should be able to read initial file");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
Back to top