Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 353 for deltaY (0.17 sec)

  1. src/os/pipe_test.go

    // (See https://go.dev/issue/24164.)
    func testPipeEOF(t *testing.T, r io.ReadCloser, w io.WriteCloser) {
    	// parkDelay is an arbitrary delay we wait for a pipe-reader goroutine to park
    	// before issuing the corresponding write. The test should pass no matter what
    	// delay we use, but with a longer delay is has a higher chance of detecting
    	// poller bugs.
    	parkDelay := 10 * time.Millisecond
    	if testing.Short() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  2. pkg/registry/core/service/ipallocator/controller/repairip.go

    			key, err := cache.MetaNamespaceKeyFunc(new)
    			if err == nil {
    				r.svcQueue.Add(key)
    			}
    		},
    		DeleteFunc: func(obj interface{}) {
    			// IndexerInformer uses a delta queue, therefore for deletes we have to use this
    			// key function.
    			key, err := cache.DeletionHandlingMetaNamespaceKeyFunc(obj)
    			if err == nil {
    				r.svcQueue.Add(key)
    			}
    		},
    	}, interval)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. src/image/jpeg/writer.go

    // returning the post-quantized DC value of the DCT-transformed block. b is in
    // natural (not zig-zag) order.
    func (e *encoder) writeBlock(b *block, q quantIndex, prevDC int32) int32 {
    	fdct(b)
    	// Emit the DC delta.
    	dc := div(b[0], 8*int32(e.quant[q][0]))
    	e.emitHuffRLE(huffIndex(2*q+0), 0, dc-prevDC)
    	// Emit the AC components.
    	h, runLength := huffIndex(2*q+1), int32(0)
    	for zig := 1; zig < blockSize; zig++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

            // Minimise test flakiness due to possible race conditions with connections closing.
            // Some number of tests will report here, but not fail due to this delay.
            println("Delaying to avoid flakes")
            Thread.sleep(500L)
            println("After delay: " + connectionPool.connectionCount())
          }
    
          connectionPool.evictAll()
          assertEquals(0, connectionPool.connectionCount()) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

        }
    
        @Override
        public ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) {
          TrustedListenableFutureTask<@Nullable Void> task =
              TrustedListenableFutureTask.create(command, null);
          ScheduledFuture<?> scheduled = delegate.schedule(task, delay, unit);
          return new ListenableScheduledTask<@Nullable Void>(task, scheduled);
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 39K bytes
    - Viewed (0)
  6. cluster/gce/gci/configure.sh

          exit 2
          ;;
      esac
    }
    
    # Retries a command forever with a delay between retries.
    # Args:
    #  $1    : delay between retries, in seconds.
    #  $2... : the command to run.
    function retry-forever {
      local -r delay="$1"
      shift 1
    
      until "$@"; do
        echo "== $* failed, retrying after ${delay}s"
        sleep "${delay}"
      done
    }
    
    # Initializes variables used by the log-* functions.
    #
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 04:14:02 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

          "FINE: Q10000 finished run in   0 µs: task",
          "FINE: Q10000 starting              : task",
          "FINE: Q10000 finished run in   0 µs: task",
        )
      }
    
      /** Repeat with a delay of 200 but schedule with a delay of 50. The schedule wins. */
      @Test fun executeScheduledEarlierReplacesRepeatedLater() {
        val task =
          object : Task("task") {
            val schedules = mutableListOf(50.µs)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. pkg/istio-agent/xds_proxy_test.go

    			proxy.connectedMutex.Lock()
    			defer proxy.connectedMutex.Unlock()
    			if proxy.connected != nil {
    				return fmt.Errorf("still connected")
    			}
    			return nil
    		}, retry.Timeout(time.Second), retry.Delay(time.Millisecond))
    	}
    	expectCondition := func(expected string) {
    		t.Helper()
    		retry.UntilSuccessOrFail(t, func() error {
    			cfg := f.Store().Get(gvk.WorkloadEntry, "group-1.1.1.1", "default")
    			if cfg == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 04:48:02 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        }
      }
    
      public void testCopyOf_concurrentlyMutating() {
        List<String> sample = Lists.newArrayList("a", "b", "c");
        for (int delta : new int[] {-1, 0, 1}) {
          for (int i = 0; i < sample.size(); i++) {
            Collection<String> misleading = Helpers.misleadingSizeCollection(delta);
            List<String> expected = sample.subList(0, i);
            misleading.addAll(expected);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  10. src/debug/gosym/testdata/pclinetest.s

    TEXT ·linefrompc(SB),4,$0	// Each byte stores its line delta
    BYTE $2;
    BYTE $1;
    BYTE $1; BYTE $0;
    BYTE $1; BYTE $0; BYTE $0;
    BYTE $1; BYTE $0; BYTE $0; BYTE $0; BYTE $0;
    BYTE $1; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0;
    BYTE $1; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0; BYTE $0;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 12 20:27:20 UTC 2018
    - 10K bytes
    - Viewed (0)
Back to top