Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 92 for deltas (0.15 sec)

  1. pkg/controller/endpoint/endpoints_controller_test.go

    		{
    			name:        "three deletes in one batch",
    			batchPeriod: 1 * time.Second,
    			podsCount:   10,
    			deletes: []podDelete{
    				{
    					// endpoints.Run needs ~100 ms to start processing updates.
    					delay:   200 * time.Millisecond,
    					podName: "pod0",
    				},
    				{
    					delay:   100 * time.Millisecond,
    					podName: "pod1",
    				},
    				{
    					delay:   100 * time.Millisecond,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  2. src/cmd/internal/testdir/testdir_test.go

    			rx := lineRx.ReplaceAllStringFunc(m[1], func(m string) string {
    				n := lineNum
    				if strings.HasPrefix(m, "LINE+") {
    					delta, _ := strconv.Atoi(m[5:])
    					n += delta
    				} else if strings.HasPrefix(m, "LINE-") {
    					delta, _ := strconv.Atoi(m[5:])
    					n -= delta
    				}
    				return fmt.Sprintf("%s:%d", short, n)
    			})
    			re := cache[rx]
    			if re == nil {
    				var err error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

                                          TensorShape({1000}));
    
      // We update the weights by adding delta to them (to "simulate" a
      // ResourceApplyGradientDescent and similar things).
      Output delta = ops::Placeholder(scope.WithOpName("delta"), DT_FLOAT);
    
      ops::AssignAddVariableOp increment_op(
          scope.WithOpName("IncrementIteration"), iter,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/regalloc.go

    				// Compute additional distance for the edge.
    				// Note: delta must be at least 1 to distinguish the control
    				// value use from the first user in a successor block.
    				delta := int32(normalDistance)
    				if len(p.Succs) == 2 {
    					if p.Succs[0].b == b && p.Likely == BranchLikely ||
    						p.Succs[1].b == b && p.Likely == BranchUnlikely {
    						delta = likelyDistance
    					}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

    //   %start = "tf.Const"() {value = dense<0> : tensor<i32>}
    //   %limit = "tf.Const"() {value = dense<5> : tensor<i32>}
    //   %delta = "tf.Const"() {value = dense<1> : tensor<i32>}
    //   %updates = "tf.Range"(%start, %limit, %delta) :
    //     (tensor<i32>, tensor<i32>, tensor<i32>) -> tensor<5xi32>
    //   %shape = "tf.Const"() {value = dense<[5, 1]> : tensor<2xi32>}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  6. plugin/pkg/admission/resourcequota/admission_test.go

    			}
    		}
    
    	}
    }
    
    // TestAdmitZeroDeltaUsageWithoutCoveringQuota verifies that resource quota is not required for zero delta requests.
    func TestAdmitZeroDeltaUsageWithoutCoveringQuota(t *testing.T) {
    
    	kubeClient := fake.NewSimpleClientset()
    	stopCh := make(chan struct{})
    	defer close(stopCh)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        val startNanos = System.nanoTime()
        assertFailsWith<InterruptedIOException> {
          stream.takeHeaders()
        }
        val elapsedNanos = System.nanoTime() - startNanos
        awaitWatchdogIdle()
        // 200ms delta
        assertThat(TimeUnit.NANOSECONDS.toMillis(elapsedNanos).toDouble())
          .isCloseTo(500.0, 200.0)
        assertThat(connection.openStreamCount()).isEqualTo(0)
    
        // Verify the peer received what was expected.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  8. src/time/time_test.go

    		if newSec := notMonoTime.Unix(); newSec != sec+i && newSec+UnixToInternal != maxInt64 {
    			t.Fatalf("time ext: %d overflows with positive delta, overflow threshold: %d", newSec, maxInt64)
    		}
    	}
    
    	// Test it with negative delta.
    	maxInt64 = -maxInt64
    	notMonoTime = NotMonoNegativeTime
    	for i := int64(0); i > -100; i-- {
    		sec := notMonoTime.Unix()
    		notMonoTime = notMonoTime.Add(Duration(i * 1e9))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  9. pkg/controller/daemon/daemon_controller.go

    				inBackoff := dsc.failedPodsBackoff.IsInBackOffSinceUpdate(backoffKey, now)
    				if inBackoff {
    					delay := dsc.failedPodsBackoff.Get(backoffKey)
    					logger.V(4).Info("Deleting failed pod on node has been limited by backoff",
    						"pod", klog.KObj(pod), "node", klog.KObj(node), "currentDelay", delay)
    					dsc.enqueueDaemonSetAfter(ds, delay)
    					continue
    				}
    
    				dsc.failedPodsBackoff.Next(backoffKey, now)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/filesystem_interface.h

      /// `path_exists`, `is_directory`, and `create_dir`.
      void (*recursively_create_dir)(const TF_Filesystem* filesystem,
                                     const char* path, TF_Status* status);
    
      /// Deletes the file specified by `path`.
      ///
      /// Plugins:
      ///   * Must set `status` to `TF_OK` if file was deleted.
      ///   * Must set `status` to `TF_NOT_FOUND` if `path` doesn't exist.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 17:36:54 UTC 2022
    - 53.1K bytes
    - Viewed (0)
Back to top