Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for b1 (0.02 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/strings/strings_test.go

    			e = reader.UnreadByte()
    			if e != nil {
    				t.Errorf("Unreading %q: %s", s, e)
    				break
    			}
    			b1, e := reader.ReadByte()
    			if e != nil {
    				t.Errorf("Reading %q after unreading: %s", s, e)
    				break
    			}
    			if b1 != b {
    				t.Errorf("Reading %q after unreading: want byte %q, got %q", s, b, b1)
    				break
    			}
    		}
    		if res.String() != s {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/debug.go

    // analysis runs, we might expect to see an entry block with:
    //
    //	b1:
    //	  v4 = ArgIntReg <uintptr> {s+8} [0] : BX
    //	  v5 = ArgIntReg <int> {used} [0] : CX
    //
    // While this is an accurate picture of the live incoming params,
    // we also want to have debug locations for non-live params (or
    // their non-live pieces), e.g. something like
    //
    //	b1:
    //	  v9 = ArgIntReg <*uint8> {s+0} [0] : AX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  10. src/crypto/x509/x509.go

    type distributionPointName struct {
    	FullName     []asn1.RawValue  `asn1:"optional,tag:0"`
    	RelativeName pkix.RDNSequence `asn1:"optional,tag:1"`
    }
    
    func reverseBitsInAByte(in byte) byte {
    	b1 := in>>4 | in<<4
    	b2 := b1>>2&0x33 | b1<<2&0xcc
    	b3 := b2>>1&0x55 | b2<<1&0xaa
    	return b3
    }
    
    // asn1BitLength returns the bit-length of bitString by considering the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
Back to top