Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 249 for pcount (0.24 sec)

  1. pkg/controller/job/job_controller.go

    	}
    	return "global"
    }
    
    func recordJobPodFailurePolicyActions(job *batch.Job, podFailureCountByPolicyAction map[string]int) {
    	for action, count := range podFailureCountByPolicyAction {
    		metrics.PodFailuresHandledByFailurePolicy.WithLabelValues(action).Add(float64(count))
    	}
    }
    
    func countReadyPods(pods []*v1.Pod) int32 {
    	cnt := int32(0)
    	for _, p := range pods {
    		if podutil.IsPodReady(p) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  2. src/runtime/mheap.go

    	//
    	// These parameters represent a linear function from gcController.heapLive
    	// to page sweep count. The proportional sweep system works to
    	// stay in the black by keeping the current page sweep count
    	// above this line at the current gcController.heapLive.
    	//
    	// The line has slope sweepPagesPerByte and passes through a
    	// basis point at (sweepHeapLiveBasis, pagesSweptBasis). At
    	// any given time, the system is at (gcController.heapLive,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/CopyUtil.java

                final byte[] buf = buffer.array();
                int len;
                int amount = 0;
                while ((len = ChannelUtil.read(channel, buffer, amount)) != -1) {
                    out.write(buf, 0, len);
                    buffer.clear();
                    amount += len;
                }
                out.flush();
                return amount;
            } catch (final IOException e) {
                throw new IORuntimeException(e);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  4. src/html/template/exec_test.go

    	{"declare in range", "{{range $x := .PSI}}<{{$foo:=$x}}{{$x}}>{{end}}", "&lt;21>&lt;22>&lt;23>", tVal, true},
    	{"range count", `{{range $i, $x := count 5}}[{{$i}}]{{$x}}{{end}}`, "[0]a[1]b[2]c[3]d[4]e", tVal, true},
    	{"range nil count", `{{range $i, $x := count 0}}{{else}}empty{{end}}`, "empty", tVal, true},
    
    	// Cute examples.
    	{"or as if true", `{{or .SI "slice is empty"}}`, "[3 4 5]", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

    	// Create svc acc
    	cr := c.mustCreateSvcAccount(ctx, value.AccessKeyID, userAdmClient)
    
    	// 1. Check that svc account appears in listing
    	c.assertSvcAccAppearsInListing(ctx, userAdmClient, value.AccessKeyID, cr.AccessKey)
    
    	// 2. Check that svc account info can be queried
    	c.assertSvcAccInfoQueryable(ctx, userAdmClient, value.AccessKeyID, cr.AccessKey, true)
    
    	// 3. Check S3 access
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                    .setPreference(Constants.SEARCH_PREFERENCE_LOCAL)).execute().actionGet(fessConfig.getIndexScrollSearchTimeout());
    
            int count = 0;
            String scrollId = response.getScrollId();
            try {
                while (scrollId != null) {
                    final SearchHits searchHits = response.getHits();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/S390X.rules

    (RISBGZ (RISBGZ x {y}) {z})
      && z.InMerge(y.OutMask()) != nil
      => (RISBGZ x {(*z.InMerge(y.OutMask())).RotateLeft(y.Amount)})
    
    // Convert RISBGZ into 64-bit shift (helps CSE).
    (RISBGZ x {r}) && r.End == 63 && r.Start == -r.Amount&63 => (SRDconst x [-r.Amount&63])
    (RISBGZ x {r}) && r.Start == 0 && r.End == 63-r.Amount => (SLDconst x [r.Amount])
    
    // Optimize single bit isolation when it is known to be equivalent to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  8. pkg/controller/replicaset/replica_set_test.go

    		},
    		{
    			name:              "callLimit = count (all succeed)",
    			count:             10,
    			callLimit:         10,
    			fn:                fn,
    			expectedSuccesses: 10,
    			expectedErr:       nil,
    			expectedCallCnt:   10, // 1(first batch) + 2(2nd batch) + 4(3rd batch) + 3(4th batch) = 10
    		},
    		{
    			name:              "callLimit < count (some succeed)",
    			count:             10,
    			callLimit:         5,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    }
    
    func PtracePeekText(pid int, addr uintptr, out []byte) (count int, err error) {
    	return ptracePeek(PTRACE_PEEKTEXT, pid, addr, out)
    }
    
    func PtracePeekData(pid int, addr uintptr, out []byte) (count int, err error) {
    	return ptracePeek(PTRACE_PEEKDATA, pid, addr, out)
    }
    
    func PtracePeekUser(pid int, addr uintptr, out []byte) (count int, err error) {
    	return ptracePeek(PTRACE_PEEKUSR, pid, addr, out)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  10. src/runtime/malloc.go

    			//
    			// Use sysAllocOS instead of sysAlloc or persistentalloc because there's no
    			// statistic we can comfortably account for this space in. With this structure,
    			// we rely on demand paging to avoid large overheads, but tracking which memory
    			// is paged in is too expensive. Trying to account for the whole region means
    			// that it will appear like an enormous memory overhead in statistics, even though
    			// it is not.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top