Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1891 - 1900 of 3,090 for FALSE (0.08 sec)

  1. guava/src/com/google/common/collect/AbstractIterator.java

          case DONE:
            return false;
          case READY:
            return true;
          default:
        }
        return tryToComputeNext();
      }
    
      private boolean tryToComputeNext() {
        state = State.FAILED; // temporary pessimism
        next = computeNext();
        if (state != State.DONE) {
          state = State.READY;
          return true;
        }
        return false;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 18 02:04:10 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractMultimap.java

      public boolean containsValue(@CheckForNull Object value) {
        for (Collection<V> collection : asMap().values()) {
          if (collection.contains(value)) {
            return true;
          }
        }
    
        return false;
      }
    
      @Override
      public boolean containsEntry(@CheckForNull Object key, @CheckForNull Object value) {
        Collection<V> collection = asMap().get(key);
        return collection != null && collection.contains(value);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

                !response.cacheControl.isPublic &&
                !response.cacheControl.isPrivate
              ) {
                return false
              }
            }
    
            else -> {
              // All other codes cannot be cached.
              return false
            }
          }
    
          // A 'no-store' directive on request or response prevents the response from being cached.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

         */
        @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
        private void workOnQueue() {
          boolean interruptedDuringTask = false;
          boolean hasSetRunning = false;
          try {
            while (true) {
              synchronized (queue) {
                // Choose whether this thread will run or not after acquiring the lock on the first
                // iteration
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/TestThread.java

       */
      public void callAndAssertBlocks(String methodName, Object... arguments) throws Exception {
        checkNotNull(methodName);
        checkNotNull(arguments);
        assertEquals(false, invokeMethod("hasQueuedThread", this));
        sendRequest(methodName, arguments);
        Thread.sleep(DUE_DILIGENCE_MILLIS);
        assertEquals(true, invokeMethod("hasQueuedThread", this));
        assertNull(responseQueue.poll());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/SequentialExecutor.java

         */
        @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
        private void workOnQueue() {
          boolean interruptedDuringTask = false;
          boolean hasSetRunning = false;
          try {
            while (true) {
              synchronized (queue) {
                // Choose whether this thread will run or not after acquiring the lock on the first
                // iteration
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. internal/dsync/drwmutex_test.go

    	}
    }
    
    func TestSimpleWriteLockTimedOut(t *testing.T) {
    	locked := testSimpleWriteLock(t, testDrwMutexAcquireTimeout)
    
    	expected := false
    	if locked != expected {
    		t.Errorf("TestSimpleWriteLockTimedOut(): \nexpected %#v\ngot      %#v", expected, locked)
    	}
    }
    
    func testDualWriteLock(t *testing.T, duration time.Duration) (locked bool) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 24 03:49:07 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java

          TesterRequirements that = (TesterRequirements) object;
          return this.presentFeatures.equals(that.presentFeatures)
              && this.absentFeatures.equals(that.absentFeatures);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return presentFeatures.hashCode() * 31 + absentFeatures.hashCode();
      }
    
      @Override
      public String toString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

                if ( newAuth != null ) {
                    this.creds = newAuth;
                    return true;
                }
            }
            return false;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Aug 02 08:32:29 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  10. cmd/config-encrypted_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	tests := []struct {
    		edata   []byte
    		cred    auth.Credentials
    		success bool
    	}{
    		{edata1, cred1, true},
    		{edata2, cred2, true},
    		{data, cred1, false},
    	}
    
    	for _, test := range tests {
    		t.Run("", func(t *testing.T) {
    			ddata, err := madmin.DecryptData(test.cred.String(), bytes.NewReader(test.edata))
    			if err != nil && test.success {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top