Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,969 for Cases (0.29 sec)

  1. fuzzing/fuzzingserver-config.json

    {
      "url": "ws://127.0.0.1:9099",
      "outdir": "./target/fuzzingserver-report",
      "cases": ["*"],
      "exclude-cases": [
        "6.1.1",
        "6.1.2",
        "6.1.3",
        "6.2.1",
        "6.2.2",
        "6.2.3",
        "6.2.4",
        "6.3.1",
        "6.3.2",
        "6.4.1",
        "6.4.2",
        "6.4.3",
        "6.4.4",
        "6.5.1",
        "6.5.2",
        "6.5.3",
        "6.5.4",
        "6.5.5",
        "6.6.1",
        "6.6.2",
        "6.6.3",
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Mar 26 02:01:32 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  2. pkg/config/labels/instance_test.go

    			expected: result{false, false},
    		},
    	}
    	for _, c := range cases {
    		var got result
    		got.subsetOf = c.left.SubsetOf(c.right)
    		got.selected = c.left.Match(c.right)
    		if got != c.expected {
    			t.Errorf("%v.SubsetOf(%v) got %v, expected %v", c.left, c.right, got, c.expected)
    		}
    	}
    }
    
    func TestString(t *testing.T) {
    	cases := []struct {
    		input    labels.Instance
    		expected string
    	}{
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 16 06:54:36 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/marshal_test.go

    type JSONSchemaPropsOrBoolHolder struct {
    	JSPoB          JSONSchemaPropsOrBool  `json:"val1"`
    	JSPoBOmitEmpty *JSONSchemaPropsOrBool `json:"val2,omitempty"`
    }
    
    func TestJSONSchemaPropsOrBoolUnmarshalJSON(t *testing.T) {
    	cases := []struct {
    		input  string
    		result JSONSchemaPropsOrBoolHolder
    	}{
    		{`{}`, JSONSchemaPropsOrBoolHolder{}},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 10 12:12:24 UTC 2018
    - 7.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/ir/tfl_op_enums.td

    // A string attribute whose value are one of the values in `cases`.
    // Referred TF_AnyStrAttrOf in tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td
    class TFL_AnyStrAttrOf<list<string> cases> : StringBasedAttr<
      CPred<!foldl(
          "$_self.cast<StringAttr>().getValue() == \"" # !head(cases) # "\"",
          !foreach(case, !tail(cases),
                   "$_self.cast<StringAttr>().getValue() == \"" # case # "\""),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 20 00:05:24 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  5. src/math/dim_s390x.s

    #define NaN    0x7FF8000000000001
    #define NegInf 0xFFF0000000000000
    
    // func ·Max(x, y float64) float64
    TEXT ·archMax(SB),NOSPLIT,$0
    	// +Inf special cases
    	MOVD    $PosInf, R4
    	MOVD    x+0(FP), R8
    	CMPUBEQ R4, R8, isPosInf
    	MOVD    y+8(FP), R9
    	CMPUBEQ R4, R9, isPosInf
    	// NaN special cases
    	MOVD    $~(1<<63), R5 // bit mask
    	MOVD    $PosInf, R4
    	MOVD    R8, R2
    	AND     R5, R2 // x = |x|
    	CMPUBLT R4, R2, isMaxNaN
    	MOVD    R9, R3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 15:48:19 UTC 2021
    - 2K bytes
    - Viewed (0)
  6. cni/pkg/log/uds_test.go

    		want := map[string]any{
    			"level": cases[i].level,
    			"msg":   cases[i].msg,
    		}
    		if k := cases[i].key; k != nil {
    			want["key"] = *k
    		}
    		assert.Equal(t, want, parsedLog)
    		i++
    	}
    }
    
    func TestParseCniLog(t *testing.T) {
    	wantT := &time.Time{}
    	assert.NoError(t, wantT.UnmarshalText([]byte("2020-01-01T00:00:00.356374Z")))
    	cases := []struct {
    		name string
    		in   string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/math/logb.go

    // license that can be found in the LICENSE file.
    
    package math
    
    // Logb returns the binary exponent of x.
    //
    // Special cases are:
    //
    //	Logb(±Inf) = +Inf
    //	Logb(0) = -Inf
    //	Logb(NaN) = NaN
    func Logb(x float64) float64 {
    	// special cases
    	switch {
    	case x == 0:
    		return Inf(-1)
    	case IsInf(x, 0):
    		return Inf(1)
    	case IsNaN(x):
    		return x
    	}
    	return float64(ilogb(x))
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 07 19:46:45 UTC 2022
    - 1021 bytes
    - Viewed (0)
  8. pkg/proxy/util/localdetector_test.go

    }
    
    func TestDetectLocalByBridgeInterface(t *testing.T) {
    	cases := []struct {
    		ifaceName               string
    		expectedJumpIfOutput    []string
    		expectedJumpIfNotOutput []string
    	}{
    		{
    			ifaceName:               "eth0",
    			expectedJumpIfOutput:    []string{"-i", "eth0"},
    			expectedJumpIfNotOutput: []string{"!", "-i", "eth0"},
    		},
    	}
    	for _, c := range cases {
    		localDetector := NewDetectLocalByBridgeInterface(c.ifaceName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 15:34:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. src/math/dim_riscv64.s

    // func archMax(x, y float64) float64
    TEXT ·archMax(SB),NOSPLIT,$0
    	MOVD	x+0(FP), F0
    	MOVD	y+8(FP), F1
    	FCLASSD	F0, X5
    	FCLASSD	F1, X6
    
    	// +Inf special cases
    	MOV	$PosInf, X7
    	BEQ	X7, X5, isMaxX
    	BEQ	X7, X6, isMaxY
    
    	// NaN special cases
    	MOV	$NaN, X7
    	BEQ	X7, X5, isMaxX
    	BEQ	X7, X6, isMaxY
    
    	// normal case
    	FMAXD	F0, F1, F0
    	MOVD	F0, ret+16(FP)
    	RET
    
    isMaxX: // return x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 15:48:19 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  10. pkg/config/gateway/gateway_test.go

    				},
    			},
    			expected: false,
    		},
    	}
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			actual := IsTLSServer(tc.server)
    			if actual != tc.expected {
    				t.Errorf("IsTLSServer(%s) => %t, want %t",
    					tc.server, actual, tc.expected)
    			}
    		})
    	}
    }
    
    func TestIsHTTPServer(t *testing.T) {
    	cases := []struct {
    		name     string
    		server   *v1alpha3.Server
    		expected bool
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 26 05:53:25 UTC 2022
    - 10.5K bytes
    - Viewed (0)
Back to top