Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 127 for a$b (0.06 sec)

  1. src/html/template/escape_test.go

    		{
    			"constant",
    			`<a href="/search?q={{"'a<b'"}}">`,
    			`<a href="/search?q=%27a%3cb%27">`,
    		},
    		{
    			"multipleAttrs",
    			"<a b=1 c={{.H}}>",
    			"<a b=1 c=&lt;Hello&gt;>",
    		},
    		{
    			"urlStartRel",
    			`<a href='{{"/foo/bar?a=b&c=d"}}'>`,
    			`<a href='/foo/bar?a=b&amp;c=d'>`,
    		},
    		{
    			"urlStartAbsOk",
    			`<a href='{{"http://example.com/foo/bar?a=b&c=d"}}'>`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 56.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            expect:
            property.addAll(["a", "b"])
            property.convention(["other"])
            assertValueIs(["a", "b"])
        }
    
        def "ignores convention after elements added using provider"() {
            expect:
            property.addAll(Providers.of(["a", "b"]))
            property.convention(["other"])
            assertValueIs(["a", "b"])
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy

            def result = toList(filtered)
    
            then:
            result == iterationOrder(c, a, b)
            _ * provider.size() >> 2
            1 * provider.calculateValue(_) >> ValueSupplier.Value.of([a, b])
            0 * _
    
            when:
            def result2 = toList(container)
    
            then:
            result2 == iterationOrder(c, a, b, d)
            0 * _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/deadness_analysis_test.cc

                                .output;
    
      // Predicate(should_always_be_dead) =
      // (A & B) & (~A | ~B) = (A & B) & ~(A & B) = False
      Output should_always_be_dead =
          ops::Add(root.WithOpName("should_always_be_dead"), and_0_1, or_not0_not1);
    
      // Predicate(should_always_be_dead) =
      // (A & B) | (~A | ~B) = (A & B) | ~(A & B) = True
      Output should_always_be_alive =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  5. src/go/types/api_test.go

    		"lib.T.M": {"method expr (lib.T) M(lib.T)", ".[0]"},
    
    		"A{}.B":    {"field (main.A) B *main.B", ".[0]"},
    		"new(A).B": {"field (*main.A) B *main.B", "->[0]"},
    		"A{}.C":    {"field (main.A) C main.C", ".[1]"},
    		"new(A).C": {"field (*main.A) C main.C", "->[1]"},
    		"A{}.b":    {"field (main.A) b int", "->[0 0]"},
    		"new(A).b": {"field (*main.A) b int", "->[0 0]"},
    		"A{}.c":    {"field (main.A) c int", ".[1 0]"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  6. src/bytes/bytes_test.go

    	for _, tt := range indexTests {
    		if len(tt.b) != 1 {
    			continue
    		}
    		a := []byte(tt.a)
    		b := tt.b[0]
    		pos := IndexByte(a, b)
    		if pos != tt.i {
    			t.Errorf(`IndexByte(%q, '%c') = %v`, tt.a, b, pos)
    		}
    		posp := IndexBytePortable(a, b)
    		if posp != tt.i {
    			t.Errorf(`indexBytePortable(%q, '%c') = %v`, tt.a, b, posp)
    		}
    	}
    }
    
    func TestLastIndexByte(t *testing.T) {
    	testCases := []BinOpTest{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/api_test.go

    		"lib.T.M": {"method expr (lib.T) M(lib.T)", ".[0]"},
    
    		"A{}.B":    {"field (main.A) B *main.B", ".[0]"},
    		"new(A).B": {"field (*main.A) B *main.B", "->[0]"},
    		"A{}.C":    {"field (main.A) C main.C", ".[1]"},
    		"new(A).C": {"field (*main.A) C main.C", "->[1]"},
    		"A{}.b":    {"field (main.A) b int", "->[0 0]"},
    		"new(A).b": {"field (*main.A) b int", "->[0 0]"},
    		"A{}.c":    {"field (main.A) c int", ".[1 0]"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/deadness_analysis.cc

        if (negated_op->kind() == pred_kind) {
          // Slightly more complicated case:
          //
          //   (~A | ~B | ~C) & A & B & C & ... ==
          //   ~(A & B & C) & (A & B & C) & ... == False
          //
          //   (~A & ~B & ~C) | A | B | C | ... ==
          //   ~(A | B | C) | (A | B | C) | ... == True
          if (absl::c_all_of(negated_op->GetOperands(), [&](Predicate* p) {
                return simplified_ops_set.contains(p);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  9. src/fmt/fmt_test.go

    	{"%+q", "日本語", `"\u65e5\u672c\u8a9e"`},
    	{"%#q", "日本語", "`日本語`"},
    	{"%#+q", "日本語", "`日本語`"},
    	{"%q", "\a\b\f\n\r\t\v\"\\", `"\a\b\f\n\r\t\v\"\\"`},
    	{"%+q", "\a\b\f\n\r\t\v\"\\", `"\a\b\f\n\r\t\v\"\\"`},
    	{"%#q", "\a\b\f\n\r\t\v\"\\", `"\a\b\f\n\r\t\v\"\\"`},
    	{"%#+q", "\a\b\f\n\r\t\v\"\\", `"\a\b\f\n\r\t\v\"\\"`},
    	{"%q", "☺", `"☺"`},
    	{"% q", "☺", `"☺"`}, // The space modifier should have no effect.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  10. src/math/big/float_test.go

    			}
    		}
    	}
    }
    
    func TestIssue20490(t *testing.T) {
    	var tests = []struct {
    		a, b float64
    	}{
    		{4, 1},
    		{-4, 1},
    		{4, -1},
    		{-4, -1},
    	}
    
    	for _, test := range tests {
    		a, b := NewFloat(test.a), NewFloat(test.b)
    		diff := new(Float).Sub(a, b)
    		b.Sub(a, b)
    		if b.Cmp(diff) != 0 {
    			t.Errorf("got %g - %g = %g; want %g\n", a, NewFloat(test.b), b, diff)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
Back to top