Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 492 for sanity (0.12 sec)

  1. pkg/proxy/conntrack/cleanup_test.go

    			Name:      svc.Name,
    		},
    		Port:     svc.Spec.Ports[1].Name,
    		Protocol: svc.Spec.Ports[1].Protocol,
    	}
    
    	unknownPortName := udpPortName
    	unknownPortName.Namespace = "unknown"
    
    	// Sanity-check to make sure we constructed the map correctly
    	if len(svcPortMap) != 2 {
    		t.Fatalf("expected svcPortMap to have 2 entries, got %+v", svcPortMap)
    	}
    	servicePort := svcPortMap[tcpPortName]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

    import javax.annotation.CheckForNull;
    import junit.framework.Assert;
    import junit.framework.AssertionFailedError;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tester that runs automated sanity tests for any given class. A typical use case is to test static
     * factory classes like:
     *
     * <pre>
     * interface Book {...}
     * public class Books {
     *   public static Book hardcover(String title) {...}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. src/crypto/aes/aes_gcm.go

    // for details.
    func (g *gcmAsm) Open(dst, nonce, ciphertext, data []byte) ([]byte, error) {
    	if len(nonce) != g.nonceSize {
    		panic("crypto/cipher: incorrect nonce length given to GCM")
    	}
    	// Sanity check to prevent the authentication from always succeeding if an implementation
    	// leaves tagSize uninitialized, for example.
    	if g.tagSize < gcmMinimumTagSize {
    		panic("crypto/cipher: incorrect GCM tag size")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginHtmlReportIntegrationTest.groovy

            fooViolations[2] == ["error", "Missing a Javadoc comment.", "8"]
            fooViolations[3] == ["error", "Missing a Javadoc comment.", "11"]
    
            // Sanity check that the anchor link is correct
            def fooAnchorLink = body.selectXpath('//table[@class="filelist"]//tr[2]/td/a').attr("href")
            def fooAnchorName = "#" + fileViolations[1].selectFirst("a").attr("name")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 22:34:07 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

      }
      const TensorProto& tensor_proto = attr_name_and_value->second.tensor();
      return internal::TensorProtoToConstant(ctx, tensor_proto, output);
    }
    
    // Perform some basic sanity checks on SavedConcreteFunction's input and
    // output signatures with respect to the corresponding FunctionDef's input
    // and output args.
    Status ValidateSavedFunctionCompatibleWithFunctionDef(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
  6. tensorflow/api_template.__init__.py

    def _running_from_pip_package():
      return any(
          _current_file_location.startswith(dir_) for dir_ in _site_packages_dirs)
    
    if _running_from_pip_package():
      # TODO(gunan): Add sanity checks to loaded modules here.
    
      # Load first party dynamic kernels.
      _tf_dir = _os.path.dirname(_current_file_location)
      _kernel_dir = _os.path.join(_tf_dir, "core", "kernels")
      if _os.path.exists(_kernel_dir):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 06:27:59 UTC 2024
    - 6.7K bytes
    - Viewed (2)
  7. cmd/erasure-heal_test.go

    }
    
    func TestErasureHeal(t *testing.T) {
    	for i, test := range erasureHealTests {
    		if test.offDisks < test.badStaleDisks {
    			// test case sanity check
    			t.Fatalf("Test %d: Bad test case - number of stale drives cannot be less than number of badstale drives", i)
    		}
    
    		// create some test data
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_freeze_global_tensors.mlir

        // CHECK: "tf.Const"() <{value = dense<1.000000e+00> : tensor<f32>}>
        func.return
      }
    }
    
    // -----
    
    // CHECK-LABEL: module attributes
    module attributes {tf_saved_model.semantics} {
    
      // Test case: Sanity check handling of non-bound inputs.
      // The pass shouldn't do anything in this case.
    
      // CHECK: func @f(%arg0: tensor<!tf_type.resource<tensor<f32>>>  {tf_saved_model.index_path = [0]})
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 03:07:35 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

    import javax.annotation.CheckForNull;
    import junit.framework.Assert;
    import junit.framework.AssertionFailedError;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tester that runs automated sanity tests for any given class. A typical use case is to test static
     * factory classes like:
     *
     * <pre>
     * interface Book {...}
     * public class Books {
     *   public static Book hardcover(String title) {...}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go

    			name:             "invalid root var",
    			errorExpressions: map[string]string{"object.foo < invalid.x": "undeclared reference to 'invalid'"},
    			hasParams:        false,
    		},
    		{
    			name: "function library",
    			// sanity check that functions of the various libraries are available
    			expressions: []string{
    				"object.spec.string.matches('[0-9]+')",                      // strings extension lib
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top