Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,559 for pcount (0.45 sec)

  1. src/internal/fuzz/worker.go

    	}
    	mem := <-ws.memMu
    	ws.m.r.save(&mem.header().randState, &mem.header().randInc)
    	defer func() {
    		resp.Count = mem.header().count
    		ws.memMu <- mem
    	}()
    	if args.Limit > 0 && mem.header().count >= args.Limit {
    		resp.InternalErr = fmt.Sprintf("mem.header().count %d already exceeds args.Limit %d", mem.header().count, args.Limit)
    		return resp
    	}
    
    	originalVals, err := unmarshalCorpusFile(mem.valueCopy())
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

                if (aa.compareAndSet(i, v, v - 1.0)) {
                  ++counts;
                }
              }
            }
            if (done) {
              break;
            }
          }
        }
      }
    
      /**
       * Multiple threads using same array of counters successfully update a number of times equal to
       * total count
       */
      public void testCountingInMultipleThreads() throws InterruptedException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    		if count != 0 {
    			blocksize = size / count
    			if sampling == "v2" {
    				count, size = scaleHeapSample(count, size, rate)
    			}
    		}
    		value = append(value, count, size)
    		return nil
    	}
    
    	if includeAlloc {
    		if err := addValues(sampleData[3], sampleData[4], "allocation"); err != nil {
    			return nil, 0, nil, err
    		}
    	}
    
    	if err := addValues(sampleData[1], sampleData[2], "inuse"); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    	if maxNodes > 0 {
    		if visualMode {
    			var count int
    			// If generating a visual graph, count tags as nodes. Update
    			// maxNodes to account for them.
    			for i, n := range g.Nodes {
    				tags := countTags(n)
    				if tags > maxNodelets {
    					tags = maxNodelets
    				}
    				if count += tags + 1; count >= maxNodes {
    					maxNodes = i + 1
    					break
    				}
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  5. cmd/admin-router.go

    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/add-service-account").HandlerFunc(adminMiddleware(adminAPI.AddServiceAccount))
    		adminRouter.Methods(http.MethodPost).Path(adminVersion+"/update-service-account").HandlerFunc(adminMiddleware(adminAPI.UpdateServiceAccount)).Queries("accessKey", "{accessKey:.*}")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. pkg/controller/serviceaccount/tokens_controller.go

    	if err != nil {
    		logger.Error(err, "Parsing service account key")
    		return
    	}
    
    	sa, err := e.getServiceAccount(saInfo.namespace, saInfo.name, saInfo.uid, false)
    	switch {
    	case err != nil:
    		logger.Error(err, "Getting service account")
    		retry = true
    	case sa == nil:
    		// service account no longer exists, so delete related tokens
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  7. pkg/controlplane/apiserver/options/options.go

    				}
    				if completed.Authentication.ServiceAccounts.MaxExpiration < serviceaccount.ExpirationExtensionSeconds*time.Second {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. src/runtime/chan.go

    	// We are emptying the channel, so we only care about
    	// the count, not about potentially filling it up.
    	if atomic.Loaduint(&c.qcount) == 0 {
    		return false
    	}
    	lock(&c.lock)
    	any := false
    	for c.qcount > 0 {
    		any = true
    		typedmemclr(c.elemtype, chanbuf(c, c.recvx))
    		c.recvx++
    		if c.recvx == c.dataqsiz {
    			c.recvx = 0
    		}
    		c.qcount--
    	}
    	unlock(&c.lock)
    	return any
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskPropertiesIntegrationTest.groovy

                    void go() {
                        println("count = \${count.get()}")
                    }
                }
    
                tasks.create("thing", MyTask) {
                    println("property = \$count")
                    count = 12
                }
            """
    
            when:
            succeeds("thing")
    
            then:
            outputContains("property = task ':thing' property 'count'")
            outputContains("count = 12")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

              @Override
              public int getCount() {
                Count count = mapEntry.getValue();
                if (count == null || count.get() == 0) {
                  Count frequency = backingMap.get(getElement());
                  if (frequency != null) {
                    return frequency.get();
                  }
                }
                return (count == null) ? 0 : count.get();
              }
            };
          }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 10.4K bytes
    - Viewed (0)
Back to top