Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for 997 (0.12 sec)

  1. pkg/kubelet/qos/policy_test.go

    			memoryCapacity:  4000000000,
    			lowOOMScoreAdj:  1000,
    			highOOMScoreAdj: 1000,
    		},
    		{
    			pod:             &equalRequestLimitCPUMemory,
    			memoryCapacity:  123456789,
    			lowOOMScoreAdj:  -997,
    			highOOMScoreAdj: -997,
    		},
    		{
    			pod:             &cpuUnlimitedMemoryLimitedWithRequests,
    			memoryCapacity:  standardMemoryAmount,
    			lowOOMScoreAdj:  495,
    			highOOMScoreAdj: 505,
    		},
    		{
    Registered: 2024-06-15 01:39
    - Last Modified: 2021-03-03 21:34
    - 5.6K bytes
    - Viewed (0)
  2. src/math/rand/race_test.go

    	const (
    		numRoutines = 10
    		numCycles   = 10
    	)
    	var wg sync.WaitGroup
    	defer wg.Wait()
    	wg.Add(numRoutines)
    	for i := 0; i < numRoutines; i++ {
    		go func(i int) {
    			defer wg.Done()
    			buf := make([]byte, 997)
    			for j := 0; j < numCycles; j++ {
    				var seed int64
    				seed += int64(ExpFloat64())
    				seed += int64(Float32())
    				seed += int64(Float64())
    				seed += int64(Intn(Int()))
    				seed += int64(Int31n(Int31()))
    Registered: 2024-06-12 16:32
    - Last Modified: 2021-04-28 16:06
    - 1.1K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java

            return MEDIA_TYPE_MARKDOWN;
          }
    
          @Override public void writeTo(BufferedSink sink) throws IOException {
            sink.writeUtf8("Numbers\n");
            sink.writeUtf8("-------\n");
            for (int i = 2; i <= 997; i++) {
              sink.writeUtf8(String.format(" * %s = %s\n", i, factor(i)));
            }
          }
    
          private String factor(int n) {
            for (int i = 2; i < n; i++) {
              int x = n / i;
    Registered: 2024-06-16 04:42
    - Last Modified: 2018-07-06 03:18
    - 2.1K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

        Thread thread = new Thread("writer") {
          @Override public void run() {
            try {
              sink.writeUtf8("Numbers\n");
              sink.writeUtf8("-------\n");
              for (int i = 2; i <= 997; i++) {
                System.out.println(i);
                Thread.sleep(10);
                sink.writeUtf8(String.format(" * %s = %s\n", i, factor(i)));
              }
              sink.close();
    Registered: 2024-06-16 04:42
    - Last Modified: 2018-07-06 03:18
    - 3.1K bytes
    - Viewed (0)
  5. src/internal/syscall/windows/registry/zsyscall_windows.go

    import (
    	"internal/syscall/windows/sysdll"
    	"syscall"
    	"unsafe"
    )
    
    var _ unsafe.Pointer
    
    // Do the interface allocations only once for common
    // Errno values.
    const (
    	errnoERROR_IO_PENDING = 997
    )
    
    var (
    	errERROR_IO_PENDING error = syscall.Errno(errnoERROR_IO_PENDING)
    	errERROR_EINVAL     error = syscall.EINVAL
    )
    
    // errnoErr returns common boxed Errno values, to prevent
    // allocations at runtime.
    Registered: 2024-06-12 16:32
    - Last Modified: 2020-11-02 15:41
    - 4K bytes
    - Viewed (0)
  6. pkg/kubelet/qos/policy.go

    	// KubeletOOMScoreAdj is the OOM score adjustment for Kubelet
    	KubeletOOMScoreAdj int = -999
    	// KubeProxyOOMScoreAdj is the OOM score adjustment for kube-proxy
    	KubeProxyOOMScoreAdj  int = -999
    	guaranteedOOMScoreAdj int = -997
    	besteffortOOMScoreAdj int = 1000
    )
    
    // GetContainerOOMScoreAdjust returns the amount by which the OOM score of all processes in the
    // container should be adjusted.
    Registered: 2024-06-15 01:39
    - Last Modified: 2023-03-10 14:49
    - 3.3K bytes
    - Viewed (0)
  7. src/strconv/atof_test.go

    		}
    		SetOptimize(old)
    	}
    }
    
    // TestRoundTrip32 tries a fraction of all finite positive float32 values.
    func TestRoundTrip32(t *testing.T) {
    	step := uint32(997)
    	if testing.Short() {
    		step = 99991
    	}
    	count := 0
    	for i := uint32(0); i < 0xff<<23; i += step {
    		f := math.Float32frombits(i)
    		if i&1 == 1 {
    			f = -f // negative
    		}
    Registered: 2024-06-12 16:32
    - Last Modified: 2022-10-26 16:24
    - 23.6K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    			[]v1.ContainerStatus{},
    			&runtimeapi.LinuxContainerResources{CpuShares: 256, MemoryLimitInBytes: 524288000, OomScoreAdj: -997},
    		},
    		{
    			"requests & limits, cpu & memory, burstable qos - no container status",
    			true,
    			v1.ResourceList{v1.ResourceCPU: resource.MustParse("500m"), v1.ResourceMemory: resource.MustParse("750Mi")},
    Registered: 2024-06-15 01:39
    - Last Modified: 2024-05-29 22:40
    - 41K bytes
    - Viewed (0)
  9. test/fixedbugs/issue60982.go

    	case 991:
    		return 991
    	case 992:
    		return 992
    	case 993:
    		return 993
    	case 994:
    		return 994
    	case 995:
    		return 995
    	case 996:
    		return 996
    	case 997:
    		return 997
    	case 998:
    		return 998
    	case 999:
    		return 999
    	}
    	return 0
    Registered: 2024-06-12 16:32
    - Last Modified: 2023-06-28 16:07
    - 23.7K bytes
    - Viewed (0)
  10. src/internal/syscall/windows/zsyscall_windows.go

    import (
    	"internal/syscall/windows/sysdll"
    	"syscall"
    	"unsafe"
    )
    
    var _ unsafe.Pointer
    
    // Do the interface allocations only once for common
    // Errno values.
    const (
    	errnoERROR_IO_PENDING = 997
    )
    
    var (
    	errERROR_IO_PENDING error = syscall.Errno(errnoERROR_IO_PENDING)
    	errERROR_EINVAL     error = syscall.EINVAL
    )
    
    // errnoErr returns common boxed Errno values, to prevent
    // allocations at runtime.
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-03-21 11:49
    - 18.4K bytes
    - Viewed (0)
Back to top