Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 987 for deltas (0.18 sec)

  1. tools/go-compile-verbose

    START="$(date -u +%s.%N)"
    
    # Output a message, with a timestamp matching istio log format
    function log() {
      delta=$(date +%s.%N --date="$START seconds ago")
      echo -e "$(date -u '+%Y-%m-%dT%H:%M:%S.%NZ')\t${delta}\t$*" >&2 >> /tmp/golog
    }
    
    GROOT="$(go env GOROOT)"
    GPATH="$(go env GOPATH)"
    GMODCACHE="$(go env GOMODCACHE)"
    ROOT="$PWD"
    
    $@
    ls="$(basename $1)"
    shift
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 05 18:18:29 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. src/sort/example_test.go

    }
    
    func ExampleStrings() {
    	s := []string{"Go", "Bravo", "Gopher", "Alpha", "Grin", "Delta"}
    	sort.Strings(s)
    	fmt.Println(s)
    	// Output: [Alpha Bravo Delta Go Gopher Grin]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:29:29 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt

      }
    
      @Test fun test() {
        val t1 = System.nanoTime() / 1e6
    
        val delays = mutableListOf(TimeUnit.MILLISECONDS.toNanos(1000), -1L)
        queue.schedule("task", TimeUnit.MILLISECONDS.toNanos(750)) {
          log.put("runOnce delays.size=${delays.size}")
          return@schedule delays.removeAt(0)
        }
    
        assertThat(log.take()).isEqualTo("runOnce delays.size=2")
        val t2 = System.nanoTime() / 1e6 - t1
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. src/runtime/netpoll_aix.go

    // Returns list of goroutines that become runnable.
    // delay < 0: blocks indefinitely
    // delay == 0: does not block, just polls
    // delay > 0: block for up to that many nanoseconds
    //
    //go:nowritebarrierrec
    func netpoll(delay int64) (gList, int32) {
    	var timeout uintptr
    	if delay < 0 {
    		timeout = ^uintptr(0)
    	} else if delay == 0 {
    		// TODO: call poll with timeout == 0
    		return gList{}, 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf_test.cc

      TF_EXPECT_OK(
          RunSessionTf2xlaClusteringBridge(*mlir_module_,
                                           /*is_in_fallback_enabled_mode=*/false));
      EXPECT_EQ(compilation_status.Delta(mlir::TF::kMlirPh1BridgeCounterReplicated,
                                         mlir::TF::kMlirPh1BridgeCounterV1,
                                         mlir::TF::kMlirPh1BridgeCounterTpu,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor_test.cc

      EXPECT_EQ(compilation_status.Delta("success"), 1);
    }
    
    TEST_F(TensorflowDialectToExecutorTest, ErrorsWhenCannotConvert) {
      CellReader<int64_t> compilation_status(kCompilationStreamz);
    
      TF_ASSERT_OK(CreateMlirModule("invalid_executor.mlir"));
    
      EXPECT_FALSE(ExportFromTensorflowDialectToExecutor(*mlir_module_).ok());
    
      EXPECT_EQ(compilation_status.Delta("failed"), 1);
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. src/time/sleep.go

    // sendTime does a non-blocking send of the current time on c.
    func sendTime(c any, seq uintptr, delta int64) {
    	// delta is how long ago the channel send was supposed to happen.
    	// The current time can be arbitrarily far into the future, because the runtime
    	// can delay a sendTime call until a goroutines tries to receive from
    	// the channel. Subtract delta to go back to the old time that we
    	// used to send.
    	select {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. src/net/timeout_test.go

    				// another error immediately.
    				t.Logf("closing spurious connection from Dial")
    				c.Close()
    
    				if delta <= 1 && d.Timeout <= 1 {
    					t.Fatalf("can't reduce Timeout or Deadline")
    				}
    				if delta > 1 {
    					delta /= 2
    					t.Logf("reducing Deadline delta to %v", delta)
    				}
    				if d.Timeout > 1 {
    					d.Timeout /= 2
    					t.Logf("reducing Timeout to %v", d.Timeout)
    				}
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 18:06:55 UTC 2024
    - 30K bytes
    - Viewed (0)
  9. src/runtime/netpoll_kqueue.go

    // delay < 0: blocks indefinitely
    // delay == 0: does not block, just polls
    // delay > 0: block for up to that many nanoseconds
    func netpoll(delay int64) (gList, int32) {
    	if kq == -1 {
    		return gList{}, 0
    	}
    	var tp *timespec
    	var ts timespec
    	if delay < 0 {
    		tp = nil
    	} else if delay == 0 {
    		tp = &ts
    	} else {
    		ts.setNsec(delay)
    		if ts.tv_sec > 1e6 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/encoding/gob/decode.go

    	state.fieldnum = -1
    	for state.b.Len() > 0 {
    		delta := int(state.decodeUint())
    		if delta < 0 {
    			errorf("decode: corrupted data: negative delta")
    		}
    		if delta == 0 { // struct terminator is zero delta fieldnum
    			break
    		}
    		if state.fieldnum >= len(engine.instr)-delta { // subtract to compare without overflow
    			error_(errRange)
    		}
    		fieldnum := state.fieldnum + delta
    		instr := &engine.instr[fieldnum]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
Back to top