Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 417 for appropriately (0.06 seconds)

  1. cmd/dynamic-timeouts_test.go

    	}
    
    	adjusted := timeout.Timeout()
    	// Check whether eventual timeout is between initial value and success timeout
    	if initial <= adjusted || adjusted <= successTimeout {
    		t.Errorf("Failure to decrease timeout appropriately")
    	}
    }
    
    func TestDynamicTimeoutConcurrent(t *testing.T) {
    	// Race test.
    	timeout := newDynamicTimeout(time.Second, time.Millisecond)
    	var wg sync.WaitGroup
    	for i := 0; i < runtime.GOMAXPROCS(0); i++ {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

      public void testAwaitTimeoutMultiInterruptExpired() {
        /*
         * We don't "need" to schedule a countDown() call at all here, but by doing
         * so, we come the closest we can to testing that the wait time is
         * appropriately decreased on each progressive await() call.
         */
        TimedLatch latch = new TimedLatch(/* countdownInMillis= */ LONG_DELAY_MS);
        repeatedlyInterruptTestThread(tearDownStack);
        latch.awaitUnsuccessfully(70);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  3. docs/orchestration/docker-compose/README.md

    * There are 4 minio distributed instances created by default. You can add more MinIO services (up to total 16) to your MinIO Compose deployment. To add a service
      * Replicate a service definition and change the name of the new service appropriately.
      * Update the command section in each service.
      * Add a new MinIO server instance to the upstream directive in the Nginx configuration file.
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:29:55 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/https/HandlerTest.java

                assertEquals(URLStreamHandler.class, superclass.getSuperclass());
            }
    
            @Test
            @DisplayName("Should verify class is final or non-final appropriately")
            void testClassModifiers() {
                // When
                int modifiers = Handler.class.getModifiers();
    
                // Then
                assertTrue(Modifier.isPublic(modifiers));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/https/HandlerTest.java

                assertEquals(URLStreamHandler.class, superclass.getSuperclass());
            }
    
            @Test
            @DisplayName("Should verify class is final or non-final appropriately")
            void testClassModifiers() {
                // When
                int modifiers = Handler.class.getModifiers();
    
                // Then
                assertTrue(Modifier.isPublic(modifiers));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

      public void testAwaitTimeoutMultiInterruptExpired() {
        /*
         * We don't "need" to schedule a countDown() call at all here, but by doing
         * so, we come the closest we can to testing that the wait time is
         * appropriately decreased on each progressive await() call.
         */
        TimedLatch latch = new TimedLatch(/* countdownInMillis= */ LONG_DELAY_MS);
        repeatedlyInterruptTestThread(tearDownStack);
        latch.awaitUnsuccessfully(70);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/SmbResourceLocatorTest.java

            }
        }
    
        @Mock
        DfsReferralData dfs;
        @Mock
        Address addr;
    
        @Test
        @DisplayName("Mockito interaction – dependent objects are called appropriately")
        void testInteractionsWithStubbedDependencies() throws Exception {
            String url = "smb://server/share/";
            DummySmbResourceLocator loc = new DummySmbResourceLocator(url);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  8. clause/expression.go

    			builder.AddVar(builder, nv)
    		} else {
    			builder.WriteByte('@')
    			builder.WriteString(string(name))
    		}
    	}
    }
    
    // processValue handles different value types appropriately for SQL parameter binding
    // It checks for driver.Valuer first, then handles slices/arrays, and finally adds single values
    func processValue(builder Builder, value interface{}) {
    	if _, ok := value.(driver.Valuer); ok {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Nov 04 07:04:52 GMT 2025
    - 8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * The particular nature and strength of the guarantees made by the proxy is
       * implementation-dependent. However, it is important that each of the methods on the target
       * object behaves appropriately when its thread is interrupted.
       *
       * <p>For example, to return the value of {@code target.someMethod()}, but substitute {@code
       * DEFAULT_VALUE} if this method call takes over 50 ms, you can use this code:
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

                    // Notify waiting threads of failure if the operation supports it
                    if (op instanceof CommonServerMessageBlock) {
                        // Handle operation failure appropriately
                        notifyOperationFailure(op, e);
                    }
                }
            }
        }
    
        private void notifyOperationFailure(CommonServerMessageBlock op, Exception error) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 11.6K bytes
    - Click Count (0)
Back to Top