Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 78 for delay (0.65 sec)

  1. src/net/http/export_test.go

    func init() {
    	// Set the default rstAvoidanceDelay to the minimum possible value to shake
    	// out tests that unexpectedly depend on it. Such tests should use
    	// runTimeSensitiveTest and SetRSTAvoidanceDelay to explicitly raise the delay
    	// if needed.
    	rstAvoidanceDelay = 1 * time.Nanosecond
    }
    
    // SetRSTAvoidanceDelay sets how long we are willing to wait between calling
    // CloseWrite on a connection and fully closing the connection.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. tests/integration/pilot/revisions/uninstall_test.go

    			reItemList = append(reItemList, reList...)
    			reStrlist = append(reStrlist, reStr...)
    		}
    		return inspectRemainingResources(reItemList, reStrlist, purge)
    	}, retry.Delay(checkResourceDelay), retry.Timeout(checkResourceTimeout))
    }
    
    // getRemainingResourcesCluster get specific resources from the cluster
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/profile/legacy_java_profile.go

    					{Type: "inuse_objects", Unit: "count"},
    					{Type: "inuse_space", Unit: value},
    				}
    			case "contention/resolution":
    				p.SampleType = []*ValueType{
    					{Type: "contentions", Unit: "count"},
    					{Type: "delay", Unit: value},
    				}
    			case "contention/sampling period":
    				p.PeriodType = &ValueType{
    					Type: "contentions", Unit: "count",
    				}
    				if p.Period, err = strconv.ParseInt(value, 0, 64); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. src/syscall/dll_windows.go

    //
    //go:uintptrescapes
    func (p *Proc) Call(a ...uintptr) (uintptr, uintptr, error) {
    	return SyscallN(p.Addr(), a...)
    }
    
    // A LazyDLL implements access to a single [DLL].
    // It will delay the load of the DLL until the first
    // call to its [LazyDLL.Handle] method or to one of its
    // [LazyProc]'s Addr method.
    //
    // LazyDLL is subject to the same DLL preloading attacks as documented
    // on [LoadDLL].
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. pilot/pkg/xds/discovery_test.go

    							return fmt.Errorf("got %v full and %v partial, expected %v full and %v partial", full, partial, expectedFull, expectedPartial)
    						}
    						return nil
    					}
    				}, retry.Timeout(opts.DebounceAfter*8), retry.Delay(opts.DebounceAfter/2))
    				if err != nil {
    					t.Error(err)
    				}
    			}
    
    			// Send updates
    			tt.test(updateCh, expect)
    
    			close(stopCh)
    			wg.Wait()
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. src/time/sleep.go

    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 {
    	case c.(chan Time) <- Now().Add(Duration(-delta)):
    	default:
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. pkg/test/framework/components/namespace/kube.go

    				"default",
    				types.JSONPatchType,
    				[]byte(`[{"op": "add", "path": "/imagePullSecrets", "value": [{"name": "test-gcr-secret"}]}]`),
    				metav1.PatchOptions{})
    			return err
    		}, retry.Delay(1*time.Second), retry.Timeout(10*time.Second))
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    func (n *kubeNamespace) forEachCluster(fn func(i int, c cluster.Cluster) error) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt

        source.close()
        assertThat(relay.isClosed).isTrue()
        assertFile(Relay.PREFIX_CLEAN, 13L, metadata.size, "abcdefghijklm", metadata)
      }
    
      @Test
      fun multipleSources() {
        val upstream = Buffer()
        upstream.writeUtf8("abcdefghijklm")
        val relay = edit(file, upstream, metadata, 1024)
        val source1 = relay.newSource()!!.buffer()
        val source2 = relay.newSource()!!.buffer()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/ParallelDownloadsPerformanceTest.groovy

                def path = httpRequest.servletPath
                // compute a digest based on the path, allowing us to use the same latency for the same request each time
                int sig = DELAYS[path.bytes.sum() % DELAYS.length]
                def ext = path.contains('.') ? path.substring(1 + path.lastIndexOf('.')) : ''
                int latency = sig * FACTORS[ext]
                def file = path.substring(path.lastIndexOf('/'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. docs/tr/docs/advanced/testing-websockets.md

    Bu işlem için, `TestClient`'ı bir `with` ifadesinde kullanarak WebSocket'e bağlanabilirsiniz:
    
    ```Python hl_lines="27-31"
    {!../../../docs_src/app_testing/tutorial002.py!}
    ```
    
    !!! note "Not"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 27 16:21:03 UTC 2024
    - 471 bytes
    - Viewed (0)
Back to top