Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 155 for a$b (0.54 sec)

  1. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> set = asList("a", "b").iterator();
        assertFalse(Iterators.contains(set, "c"));
      }
    
      public void test_contains_null_yes() {
        Iterator<@Nullable String> set = Arrays.<@Nullable String>asList("a", null, "b").iterator();
        assertTrue(Iterators.contains(set, null));
      }
    
      public void test_contains_null_no() {
        Iterator<String> set = asList("a", "b").iterator();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy

            def from = collection.from
            def files = collection.files
    
            then:
            1 * fileResolver.resolve("a") >> file1
            1 * fileResolver.resolve("b") >> file2
            from as List == ["a", "b"]
            files as List == [file1, file2]
        }
    
        def "can add paths to the collection"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 53K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top