Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for b1 (0.1 sec)

  1. src/bytes/bytes_test.go

    		// different start alignments
    		b1 := b[i:]
    		for j := 0; j < len(b1); j++ {
    			b1[j] = 'x'
    			pos := IndexByte(b1, 'x')
    			if pos != j {
    				t.Errorf("IndexByte(%q, 'x') = %v", b1, pos)
    			}
    			b1[j] = 0
    			pos = IndexByte(b1, 'x')
    			if pos != -1 {
    				t.Errorf("IndexByte(%q, 'x') = %v", b1, pos)
    			}
    		}
    		// different end alignments
    		b1 = b[:i]
    		for j := 0; j < len(b1); j++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  2. src/time/time_test.go

    	{"MarshalBinary", func(t1, t2 Time) bool {
    		a1, b1 := t1.MarshalBinary()
    		a2, b2 := t2.MarshalBinary()
    		return bytes.Equal(a1, a2) && b1 == b2
    	}},
    	{"GobEncode", func(t1, t2 Time) bool {
    		a1, b1 := t1.GobEncode()
    		a2, b2 := t2.GobEncode()
    		return bytes.Equal(a1, a2) && b1 == b2
    	}},
    	{"MarshalJSON", func(t1, t2 Time) bool {
    		a1, b1 := t1.MarshalJSON()
    		a2, b2 := t2.MarshalJSON()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/deadness_analysis_test.cc

      Output b1 =
          ops::Add(root.WithOpName("b1"), sw_1.output_true, sw_0.output_false);
    
      Output live0 = ops::Add(root.WithOpName("live0"), a0, a1);
      Output live1 = ops::Add(root.WithOpName("live1"), b0, b1);
    
      Output halfdead0 = ops::Add(root.WithOpName("halfdead0"), a0, b0);
      Output halfdead1 = ops::Add(root.WithOpName("halfdead1"), a1, b1);
    
      std::unique_ptr<DeadnessAnalysis> result;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    				"!self.listMap.exists_one(m, m.k.startsWith('a'))":   20,
    				"size(self.listMap.filter(m, m.k == 'a1')) == 1":     27,
    				"self.listMap.exists(m, m.k == 'a1' && m.v == 'b1')": 16,
    				"self.listMap.map(m, m.v).exists(v, v == 'b1')":      55,
    
    				// test comprehensions where the field used in predicates is unset on all but one of the elements:
    				// - with has checks:
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  5. src/encoding/xml/marshal_test.go

    			`</top>`,
    	},
    	{
    		Value: &struct {
    			XMLName struct{} `xml:"top"`
    			B       string   `xml:"space x>b"`
    			B1      string   `xml:"space1 x>b"`
    		}{
    			B:  "b",
    			B1: "b1",
    		},
    		ExpectXML: `<top>` +
    			`<x><b xmlns="space">b</b>` +
    			`<b xmlns="space1">b1</b></x>` +
    			`</top>`,
    	},
    
    	// Test struct embedding
    	{
    		Value: &EmbedA{
    			EmbedC: EmbedC{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    				st.MakePod().Name("pod-a2").UID("pod-a2").Node("node-a").Label("foo", "").Priority(lowPriority).Obj(),
    				st.MakePod().Name("pod-b1").UID("pod-b1").Node("node-b").Label("foo", "").Priority(lowPriority).Obj(),
    				st.MakePod().Name("pod-x1").UID("pod-x1").Node("node-x").Label("foo", "").Priority(highPriority).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
      fun iterator(parameters: Pair<FileSystem, Boolean>) {
        setUp(parameters.first, parameters.second)
        set("a", "a1", "a2")
        set("b", "b1", "b2")
        set("c", "c1", "c2")
        val iterator = cache.snapshots()
        assertThat(iterator.hasNext()).isTrue()
        iterator.next().use {
          assertThat(it.key()).isEqualTo("a")
          it.assertValue(0, "a1")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  8. src/net/url/url_test.go

    	{Values{"q": {"puppies"}, "oe": {"utf8"}}, "oe=utf8&q=puppies"},
    	{Values{"q": {"dogs", "&", "7"}}, "q=dogs&q=%26&q=7"},
    	{Values{
    		"a": {"a1", "a2", "a3"},
    		"b": {"b1", "b2", "b3"},
    		"c": {"c1", "c2", "c3"},
    	}, "a=a1&a=a2&a=a3&b=b1&b=b2&b=b3&c=c1&c=c2&c=c3"},
    }
    
    func TestEncodeQuery(t *testing.T) {
    	for _, tt := range encodeQueryTests {
    		if q := tt.m.Encode(); q != tt.expected {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:52:38 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Sets.java

       * products that you would get from nesting for loops:
       *
       * <pre>{@code
       * for (B b0 : sets.get(0)) {
       *   for (B b1 : sets.get(1)) {
       *     ...
       *     ImmutableList<B> tuple = ImmutableList.of(b0, b1, ...);
       *     // operate on tuple
       *   }
       * }
       * }</pre>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/VersionConflictResolutionIntegrationTest.groovy

            }
        }
    
        void "previously evicted nodes should contain correct target version"() {
            /*
            a1->b1
            a2->b2->a1
    
            resolution process:
    
            1. stop resolution, resolve conflict a1 vs a2
            2. select a2, restart resolution
            3. stop, resolve b1 vs b2
            4. select b2, restart
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 76.2K bytes
    - Viewed (0)
Back to top