Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 135 for countpwg (0.17 sec)

  1. src/runtime/gc_test.go

    			b.ResetTimer()
    			for i := 0; i < b.N; i++ {
    				runtime.MSpanCountAlloc(s, bits)
    			}
    		})
    	}
    }
    
    func countpwg(n *int, ready *sync.WaitGroup, teardown chan bool) {
    	if *n == 0 {
    		ready.Done()
    		<-teardown
    		return
    	}
    	*n--
    	countpwg(n, ready, teardown)
    }
    
    func TestMemoryLimit(t *testing.T) {
    	if testing.Short() {
    		t.Skip("stress test that takes time to run")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/promise/counting.go

    Mike Spreitzer <******@****.***> 1627533325 -0400
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 10 14:37:53 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  3. src/sync/runtime.go

    // Semacquire(RW)Mutex(R) is like Semacquire, but for profiling contended
    // Mutexes and RWMutexes.
    // If lifo is true, queue waiter at the head of wait queue.
    // skipframes is the number of frames to omit during tracing, counting from
    // runtime_SemacquireMutex's caller.
    // The different forms of this function just tell the runtime how to present
    // the reason for waiting in a backtrace, and is used to compute some metrics.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 16:32:27 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildServiceIntegrationTest.groovy

            file('settings.gradle') << """
                pluginManagement {
                    includeBuild 'counting-service-plugin'
                }
                enableFeaturePreview 'STABLE_CONFIGURATION_CACHE'
            """
            file('build.gradle') << """
                plugins { id 'counting-service-plugin' version '1.0' }
    
                def altServiceProvider = project.getGradle().getSharedServices().registerIfAbsent(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 11:47:23 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/cmd/gotraceeventstats/main.go

    		} else {
    			name = specs[stat.typ].Name
    		}
    		bytesPct := float64(stat.bytes) / float64(cr.bytesRead) * 100
    		countPct := float64(stat.count) / float64(eventsRead) * 100
    		fmt.Fprintf(w, "%s\t%d\t%.2f%%\t%d\t%.2f%%\n", name, stat.bytes, bytesPct, stat.count, countPct)
    	}
    	w.Flush()
    	return nil
    }
    
    func encodedSize(e *raw.Event) int {
    	size := 1
    	var buf [binary.MaxVarintLen64]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/quota/v1/generic/evaluator.go

    	// Names associated with this resource in the quota for generic counting.
    	resourceNames []corev1.ResourceName
    }
    
    // Constraints returns an error if the configured resource name is not in the required set.
    func (o *objectCountEvaluator) Constraints(required []corev1.ResourceName, item runtime.Object) error {
    	// no-op for object counting
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 05 00:02:47 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/gateway/certificate.go

    				// mean selectorX is not subset of selectorY
    				if valueX != valueY {
    					return false
    				}
    				// if key and value is same
    				// increase the counting
    				count++
    			}
    		}
    	}
    
    	// if total counting is not same with the length
    	// of selectorX, selectorX is not subset of selectorY
    	return count == len(selectorX)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/classpath/DefaultInstrumentedClosuresTracker.java

    import it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap;
    import org.gradle.api.NonNullApi;
    
    @NonNullApi
    public class DefaultInstrumentedClosuresTracker implements InstrumentedClosuresTracker {
        /**
         * A multiset counting the entries in a closure, which is needed to correctly track reentrant recursive calls;
         */
        private final Object2IntMap<InstrumentableClosure> currentClosuresEntries = new Object2IntOpenHashMap<>();
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 24 15:58:00 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/CountingOutputStream.java

     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class CountingOutputStream extends FilterOutputStream {
    
      private long count;
    
      /**
       * Wraps another output stream, counting the number of bytes written.
       *
       * @param out the output stream to be wrapped
       */
      public CountingOutputStream(OutputStream out) {
        super(checkNotNull(out));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/GroovyCompileProblemsIntegrationTest.groovy

            verifyAll(receivedProblem(0)) {
                fqid == 'compilation:java:java-compilation-error'
                details == "';' expected"
            }
    
            // We also check if the error counting also works,
            // which is a separate functionality in the DiagnosticToProblemListener class next to the error reporting
            result.error.contains("1 error")
    
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 16:25:50 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top