Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 514 for Advance (0.99 sec)

  1. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

      private volatile long autoIncrementStepNanos;
    
      /** Advances the ticker value by {@code time} in {@code timeUnit}. */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
      public FakeTicker advance(long time, TimeUnit timeUnit) {
        return advance(timeUnit.toNanos(time));
      }
    
      /** Advances the ticker value by {@code nanoseconds}. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/runtime/mgclimit_test.go

    		}
    		if !l.NeedUpdate(advance(GCCPULimiterUpdatePeriod)) {
    			t.Fatal("doesn't need update even though updated 1.5 periods ago")
    		}
    		l.Update(advance(0))
    		if l.NeedUpdate(advance(0)) {
    			t.Fatal("need update even though just updated")
    		}
    
    		// Test transitioning the bucket to enable the GC.
    
    		l.StartGCTransition(true, advance(109*time.Millisecond))
    		l.FinishGCTransition(advance(2*time.Millisecond + 1*time.Microsecond))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 13 16:02:20 UTC 2022
    - 9K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Lexer.kt

                                    advance()
                                }
                            }
                            else -> {
                                // ignore
                                advance()
                            }
                        }
                        // no need to advance, included in annotation parsing
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/analyze_variables.cc

        if (IsSupportedTFLiteResourceOp(op)) return WalkResult::advance();
        if (IsSupportedTFLiteControlFlow(op)) return WalkResult::advance();
    
        if (IsSupportedTFCustomOp(op)) return WalkResult::advance();
    
        // Check for ops that are legalized to TFLite.
        if (op->getDialect()->getNamespace() == "tfl") {
          return WalkResult::advance();
        }
        // Check for ops that are not legalized to TFLite.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/internal/trace/reader.go

    	// (4) Organize batchCursors in a min-heap, ordered by the timestamp of the next event for each M.
    	// (5) Try to advance the next event for the M at the top of the min-heap.
    	//   (a) On success, select that M.
    	//   (b) On failure, sort the min-heap and try to advance other Ms. Select the first M that advances.
    	//   (c) If there's nothing left to advance, goto (1).
    	// (6) Select the latest event for the selected M and get it ready to be returned.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/MultiInputStream.java

        this.it = checkNotNull(it);
        advance();
      }
    
      @Override
      public void close() throws IOException {
        if (in != null) {
          try {
            in.close();
          } finally {
            in = null;
          }
        }
      }
    
      /** Closes the current input stream and opens the next one, if any. */
      private void advance() throws IOException {
        close();
        if (it.hasNext()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize_compile_and_replicate_attributes.cc

                  << "' attribute which contradicts each other";
              return mlir::WalkResult::interrupt();
            }
            return mlir::WalkResult::advance();
          }
          if (op->hasAttr(tensorflow::kCompileDeviceTypeAttr)) {
            return mlir::WalkResult::advance();
          }
          auto device_attr = op->getAttrOfType<StringAttr>(tensorflow::kDeviceAttr);
          if (!device_attr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

      public void testAdvance() {
        FakeTicker ticker = new FakeTicker();
        assertEquals(0, ticker.read());
        assertSame(ticker, ticker.advance(10));
        assertEquals(10, ticker.read());
        ticker.advance(1, TimeUnit.MILLISECONDS);
        assertEquals(1000010L, ticker.read());
        ticker.advance(Duration.ofMillis(1));
        assertEquals(2000010L, ticker.read());
      }
    
      public void testAutoIncrementStep_returnsSameInstance() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 14:40:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/MultiReader.java

      @CheckForNull private Reader current;
    
      MultiReader(Iterator<? extends CharSource> readers) throws IOException {
        this.it = readers;
        advance();
      }
    
      /** Closes the current reader and opens the next one, if any. */
      private void advance() throws IOException {
        close();
        if (it.hasNext()) {
          current = it.next().openStream();
        }
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/MultiReader.java

      @CheckForNull private Reader current;
    
      MultiReader(Iterator<? extends CharSource> readers) throws IOException {
        this.it = readers;
        advance();
      }
    
      /** Closes the current reader and opens the next one, if any. */
      private void advance() throws IOException {
        close();
        if (it.hasNext()) {
          current = it.next().openStream();
        }
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top