Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 136 for prev (0.02 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        SettableFuture<String> orig = SettableFuture.create();
        SettableFuture<String> prev = orig;
        for (int i = 0; i < 100000; i++) {
          SettableFuture<String> curr = SettableFuture.create();
          prev.setFuture(curr);
          prev = curr;
        }
        // prev represents the 'innermost' future
        prev.set("done");
        assertTrue(orig.isDone());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. cmd/bucket-targets.go

    					//	var deploymentID string
    					sys.hMutex.RLock()
    					prev, ok := sys.hc[result.Endpoint.Host]
    					sys.hMutex.RUnlock()
    					if ok {
    						if prev.Online != result.Online || !result.Online {
    							if !prev.lastHCAt.IsZero() {
    								offline = time.Since(prev.lastHCAt) + prev.offlineDuration
    							} else {
    								offline = prev.offlineDuration
    							}
    						} else if result.Online {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            reader.addSort(SortBuilders.fieldSort("field2"));
            int count = 0;
            int prev = -1;
            Map<String, Object> source;
            while ((source = reader.read()) != null) {
                int current = Integer.parseInt(source.get("field2").toString());
                assertTrue(prev < current);
                prev = current;
                count++;
            }
            assertEquals(num, count);
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

      }
    
      private void setPredecessor(int entry, int pred) {
        long predMask = (~0L) << 32;
        links[entry] = (links[entry] & ~predMask) | ((long) pred << 32);
      }
    
      private void setSucceeds(int pred, int succ) {
        if (pred == ENDPOINT) {
          firstEntry = succ;
        } else {
          setSuccessor(pred, succ);
        }
        if (succ == ENDPOINT) {
          lastEntry = pred;
        } else {
          setPredecessor(succ, pred);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        SettableFuture<String> orig = SettableFuture.create();
        SettableFuture<String> prev = orig;
        for (int i = 0; i < 100000; i++) {
          SettableFuture<String> curr = SettableFuture.create();
          prev.setFuture(curr);
          prev = curr;
        }
        // prev represents the 'innermost' future
        prev.set("done");
        assertTrue(orig.isDone());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

        }
    
        private void succeedsInValueSet(
            @Nullable ValueEntry<K, V> pred, @Nullable ValueEntry<K, V> succ) {
          if (pred == null) {
            firstEntry = succ;
          } else {
            pred.successorInValueSet = succ;
          }
          if (succ == null) {
            lastEntry = pred;
          } else {
            succ.predecessorInValueSet = pred;
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                return;
            }
    
            ComparableVersion prev = null;
            int i = 1;
            for (String version : args) {
                ComparableVersion c = new ComparableVersion(version);
    
                if (prev != null) {
                    int compare = prev.compareTo(c);
                    System.out.println(
                            "   " + prev + ' ' + ((compare == 0) ? "==" : ((compare < 0) ? "<" : ">")) + ' ' + version);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/HashBiMap.java

       * prev}. {@code ENDPOINT} represents either the first or last entry in the entire map (as
       * appropriate).
       */
      private void setSucceeds(int prev, int next) {
        if (prev == ENDPOINT) {
          firstInInsertionOrder = next;
        } else {
          nextInInsertionOrder[prev] = next;
        }
        if (next == ENDPOINT) {
          lastInInsertionOrder = prev;
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    	if cntReplicated > 0 && cntReplicated != total {
    		return false
    	}
    	// check if policies match between sites
    	var prev madmin.SRPolicyMapping
    	for i, p := range policies {
    		if i == 0 {
    			prev = p
    			continue
    		}
    		if prev.IsGroup != p.IsGroup ||
    			prev.Policy != p.Policy ||
    			prev.UserOrGroup != p.UserOrGroup {
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

            // not all.  See the test cases for examples on how this can happen.
            try {
              ((Thread) currentRunner).interrupt();
            } finally {
              Runnable prev = getAndSet(DONE);
              if (prev == PARKED) {
                LockSupport.unpark((Thread) currentRunner);
              }
            }
          }
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top