Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,589 for ensure (0.28 sec)

  1. pkg/proxy/util/nfacct/nfacct.go

    	Name    string
    	Packets uint64
    	Bytes   uint64
    }
    
    // Interface is an injectable interface for running nfacct commands.
    type Interface interface {
    	// Ensure checks the existence of a nfacct counter with the provided name and creates it if absent.
    	Ensure(name string) error
    	// Add creates a nfacct counter with the given name, returning an error if it already exists.
    	Add(name string) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. .github/PULL_REQUEST_TEMPLATE.md

    - [ ] Provide unit tests (under `<subproject>/src/test`) to verify logic.
    - [ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes.
    - [ ] Ensure that tests pass sanity check: `./gradlew sanityCheck`.
    - [ ] Ensure that tests pass locally: `./gradlew <changed-subproject>:quickTest`.
    
    ### Reviewing cheatsheet
    
    Before merging the PR, comments starting with 
    - ❌ ❓**must** be fixed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 13 22:36:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/internal/moddeps/moddeps_test.go

    				t.Logf("(Run 'go mod tidy' in %s to ensure that no extraneous dependencies were added, or 'go mod vendor' to copy in imported packages.)", m.Dir)
    			}
    		})
    	}
    
    	// We now get to the slow, but more thorough part of the test.
    	// Only run it in long test mode.
    	if testing.Short() {
    		return
    	}
    
    	// Ensure that all modules within GOROOT are tidy, vendored, and bundled.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       * reference has been cleared and one {@code finalize} method has been run before this method
       * returns. This method may be useful when testing the garbage collection mechanism itself, or
       * inhibiting a spontaneous GC initiation in subsequent code.
       *
       * <p>In contrast, a plain call to {@link java.lang.System#gc()} does not ensure finalization
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. src/runtime/traceexp.go

    	return traceExpWriter{traceWriter{traceLocker: traceLocker{gen: gen}, traceBuf: buf}, exp}
    }
    
    // ensure makes sure that at least maxSize bytes are available to write.
    //
    // Returns whether the buffer was flushed.
    func (w traceExpWriter) ensure(maxSize int) (traceExpWriter, bool) {
    	refill := w.traceBuf == nil || !w.available(maxSize)
    	if refill {
    		w.traceWriter = w.traceWriter.refill(w.exp)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/Closer.java

       * in a {@code RuntimeException}. <b>Note:</b> Be sure to declare all of the checked exception
       * types your try block can throw when calling an overload of this method so as to avoid losing
       * the original exception type.
       *
       * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);}
       * to ensure the compiler knows that it will throw.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. manifests/helm-profiles/stable.yaml

    # The stable profile deploys admission control to ensure that only stable resources and fields are used
    # THIS IS CURRENTLY EXPERIMENTAL AND SUBJECT TO CHANGE
    experimental:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 22:00:40 UTC 2024
    - 204 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config_test.cc

      EXPECT_EQ(tf2xla_fallback_count, 322);
      EXPECT_EQ(non_categorized_count, 428);
    }
    
    // Just a counter test to see which ops have duplicate lowerings. This isn't a
    // correctness test versus a test to easily ensure the op registry is kept
    // in sync.
    TEST_F(LegalizationOpConfigTest, CountTypesWhichHaveBothMlirAndTf2xlaFallback) {
      int double_lowering_count = 0;
    
      DialectRegistry dialect_registry;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 30 03:31:01 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInTaskIntegrationTest.groovy

                    public void exec() {
                        ${snippets.body}
                    }
                }
    
                def sneakyTask = tasks.register("sneakyTask", SneakyTask) {}
    
                // Ensure that buildSrc compilation triggers an exec task.
                tasks.named("classes").configure {
                    dependsOn(sneakyTask)
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/GcFinalization.java

       * reference has been cleared and one {@code finalize} method has been run before this method
       * returns. This method may be useful when testing the garbage collection mechanism itself, or
       * inhibiting a spontaneous GC initiation in subsequent code.
       *
       * <p>In contrast, a plain call to {@link java.lang.System#gc()} does not ensure finalization
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top