Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 547 for _counters (0.32 sec)

  1. pkg/apis/batch/types.go

    	//     counter.
    	//
    	// Old jobs might not be tracked using this field, in which case the field
    	// remains null.
    	// The structure is empty for finished jobs.
    	// +optional
    	UncountedTerminatedPods *UncountedTerminatedPods
    }
    
    // UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't
    // been accounted in Job status counters.
    type UncountedTerminatedPods struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/graceful_shutdown_test.go

    	// validate backendHandler
    	if backendHandler.counter != 25 {
    		t.Errorf("the target server haven't received all expected requests, expected 25, it got %d", backendHandler.counter)
    	}
    }
    
    type backendHTTPHandler struct {
    	counter int
    }
    
    func (b *backendHTTPHandler) ServeHTTP(w http.ResponseWriter, _ *http.Request) {
    	handlerLock.Lock()
    	b.counter++
    	if b.counter == 25 {
    		startServerShutdown <- struct{}{}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. pkg/util/iptables/iptables.go

    	// flush sets the presence of the "--noflush" flag. see: FlushFlag
    	// counters sets the "--counters" flag. see: RestoreCountersFlag
    	Restore(table Table, data []byte, flush FlushFlag, counters RestoreCountersFlag) error
    	// RestoreAll is the same as Restore except that no table is specified.
    	RestoreAll(data []byte, flush FlushFlag, counters RestoreCountersFlag) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 28.6K bytes
    - Viewed (0)
  4. src/runtime/pinner_test.go

    		t.Fatal("not marked as pinned")
    	}
    	if cnt := runtime.GetPinCounter(addr); cnt == nil || *cnt != N-1 {
    		t.Fatalf("pin counter incorrect: %d", *cnt)
    	}
    	pinner.Unpin()
    	if runtime.IsPinned(addr) {
    		t.Fatal("still marked as pinned")
    	}
    	if runtime.GetPinCounter(addr) != nil {
    		t.Fatal("pin counter was not deleted")
    	}
    }
    
    func TestPinnerTwoPinner(t *testing.T) {
    	var pinner1, pinner2 runtime.Pinner
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 18:36:12 UTC 2023
    - 11K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/visitor.h

    // once even if it's called from multiple places and/or recursively.
    //
    // The current implementation follows direct calls to `mlir::func::FuncOp` only
    // and returns a `mlir::WalkResult::interrupt()` when it encounters a call whose
    // callee cannot be resolved to `mlir::func::FuncOp`.
    mlir::WalkResult WalkReachableFunctions(
        mlir::func::FuncOp func,
        llvm::function_ref<mlir::WalkResult(mlir::func::FuncOp)> callback,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 03:46:51 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

          void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) {
            builder.add(counter.getAndIncrement());
          }
        },
        ADD_ARRAY {
          @Override
          void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) {
            int[] array = new int[RANDOM.nextInt(10)];
            for (int i = 0; i < array.length; i++) {
              array[i] = counter.getAndIncrement();
            }
            builder.addAll(array);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  7. tests/non_std_test.go

    	DB.First(&animal, animal.Counter)
    	if animal.Name != "galeone" {
    		t.Errorf("Name fields shouldn't be changed if untouched, but got %v", animal.Name)
    	}
    
    	// When changing a field with a default value, the change must occur
    	animal.Name = "amazing horse"
    	DB.Save(&animal)
    	DB.First(&animal, animal.Counter)
    	if animal.Name != "amazing horse" {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/crypto/hkdf/hkdf.go

    	n := copy(p, f.buf)
    	p = p[n:]
    
    	// Fill the rest of the buffer
    	for len(p) > 0 {
    		if f.counter > 1 {
    			f.expander.Reset()
    		}
    		f.expander.Write(f.prev)
    		f.expander.Write(f.info)
    		f.expander.Write([]byte{f.counter})
    		f.prev = f.expander.Sum(f.prev[:0])
    		f.counter++
    
    		// Copy the new batch into p
    		f.buf = f.prev
    		n = copy(p, f.buf)
    		p = p[n:]
    	}
    	// Save leftovers for next run
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/passes/input_lowering_metrics_pass.cc

    #include "tensorflow/core/lib/monitoring/counter.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace internal {
    
    namespace {
    
    using mlir::Operation;
    using mlir::WalkResult;
    
    #define GEN_PASS_DEF_INPUTLOWERINGMETRICSPASS
    #include "tensorflow/compiler/mlir/tf2xla/internal/passes/lowering_passes.h.inc"
    
    auto* dynamism_op_counter = tensorflow::monitoring::Counter<1>::New(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 08:55:35 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/model/DummyNamed.java

     * limitations under the License.
     */
    
    package org.gradle.api.internal.model;
    
    import org.gradle.api.Named;
    
    class DummyNamed implements Named {
        static int counter;
    
        public DummyNamed() {
            counter++;
        }
    
        @Override
        public String getName() {
            throw new UnsupportedOperationException();
        }
    
        String getCalculatedValue() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 982 bytes
    - Viewed (0)
Back to top