Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 86 for 1123 (0.03 sec)

  1. guava-tests/test/com/google/common/primitives/LongsTest.java

        testRotate(new long[] {1, 2, 3, 4}, 1, new long[] {4, 1, 2, 3});
        testRotate(new long[] {1, 2, 3, 4}, 5, new long[] {4, 1, 2, 3});
        testRotate(new long[] {1, 2, 3, 4}, 9, new long[] {4, 1, 2, 3});
    
        testRotate(new long[] {1, 2, 3, 4, 5}, -6, new long[] {2, 3, 4, 5, 1});
        testRotate(new long[] {1, 2, 3, 4, 5}, -4, new long[] {5, 1, 2, 3, 4});
        testRotate(new long[] {1, 2, 3, 4, 5}, -3, new long[] {4, 5, 1, 2, 3});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/EnumTest.java

                    // + 64 byte header
                    // + 8 byte query response overhead
                    // + 110 bytes entry
                    // -> 1022 predicted message size <= 1023 maximum buffer size
                    // 112 bytes to alignment
                    // -> aligned to 1024 > 1023 maximum buffer size
    
                    // 110 byte entry = 16 byte name = 8 char length
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

                ImmutableMap.ofEntries(entry(1, 1)),
                map(1, 1))
            .addEqualityGroup(
                ImmutableMap.of(1, 1, 2, 2),
                ImmutableMap.builder().put(1, 1).put(2, 2).buildOrThrow(),
                ImmutableMap.ofEntries(entry(1, 1), entry(2, 2)),
                map(1, 1, 2, 2))
            .addEqualityGroup(
                ImmutableMap.of(1, 1, 2, 2, 3, 3),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

            .build()
        assertThat(url.toString())
          .isEqualTo(
            "http://a%3A%01%40%2F%5C%3F%23%25b:c%3A%01%40%2F%5C%3F%23%25d@ef:8080/" +
              "g:%01@%2F%5C%3F%23%25h?i:%01@/\\?%23%25j#k:%01@/\\?#%25l",
          )
        assertThat(url.scheme).isEqualTo("http")
        assertThat(url.username).isEqualTo("a:\u0001@/\\?#%b")
        assertThat(url.password).isEqualTo("c:\u0001@/\\?#%d")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  5. src/archive/tar/reader_test.go

    		},
    		wantErr: ErrHeader,
    	}, {
    		inputHdrs: map[string]string{
    			paxGNUSparseNumBlocks: "2",
    			paxGNUSparseMap:       "0,1,2,3",
    		},
    		wantMap: sparseDatas{{0, 1}, {2, 3}},
    	}, {
    		inputHdrs: map[string]string{
    			paxGNUSparseNumBlocks: "2",
    			paxGNUSparseMap:       "0, 1,2,3",
    		},
    		wantErr: ErrHeader,
    	}, {
    		inputHdrs: map[string]string{
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

                ImmutableMap.ofEntries(entry(1, 1)),
                map(1, 1))
            .addEqualityGroup(
                ImmutableMap.of(1, 1, 2, 2),
                ImmutableMap.builder().put(1, 1).put(2, 2).buildOrThrow(),
                ImmutableMap.ofEntries(entry(1, 1), entry(2, 2)),
                map(1, 1, 2, 2))
            .addEqualityGroup(
                ImmutableMap.of(1, 1, 2, 2, 3, 3),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

      public void testToString() {
        SetMultimap<String, Integer> multimap = create();
        multimap.putAll("bar", asList(3, 1, 2));
        multimap.putAll("foo", asList(2, 3, 1, -1, 4));
        assertEquals("{bar=[1, 2, 3], foo=[-1, 1, 2, 3, 4]}", multimap.toString());
      }
    
      public void testOrderedGet() {
        TreeMultimap<String, Integer> multimap = createPopulate();
        assertThat(multimap.get("foo")).containsExactly(1, 3, 7).inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        testRotate(new byte[] {1, 2, 3, 4}, 1, new byte[] {4, 1, 2, 3});
        testRotate(new byte[] {1, 2, 3, 4}, 5, new byte[] {4, 1, 2, 3});
        testRotate(new byte[] {1, 2, 3, 4}, 9, new byte[] {4, 1, 2, 3});
    
        testRotate(new byte[] {1, 2, 3, 4, 5}, -6, new byte[] {2, 3, 4, 5, 1});
        testRotate(new byte[] {1, 2, 3, 4, 5}, -4, new byte[] {5, 1, 2, 3, 4});
        testRotate(new byte[] {1, 2, 3, 4, 5}, -3, new byte[] {4, 5, 1, 2, 3});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. src/bytes/example_test.go

    	var buf bytes.Buffer
    	for i := 0; i < 4; i++ {
    		b := buf.AvailableBuffer()
    		b = strconv.AppendInt(b, int64(i), 10)
    		b = append(b, ' ')
    		buf.Write(b)
    	}
    	os.Stdout.Write(buf.Bytes())
    	// Output: 0 1 2 3
    }
    
    func ExampleBuffer_Cap() {
    	buf1 := bytes.NewBuffer(make([]byte, 10))
    	buf2 := bytes.NewBuffer(make([]byte, 0, 10))
    	fmt.Println(buf1.Cap())
    	fmt.Println(buf2.Cap())
    	// Output:
    	// 10
    	// 10
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/BytesTest.java

        testRotate(new byte[] {1, 2, 3, 4}, 1, new byte[] {4, 1, 2, 3});
        testRotate(new byte[] {1, 2, 3, 4}, 5, new byte[] {4, 1, 2, 3});
        testRotate(new byte[] {1, 2, 3, 4}, 9, new byte[] {4, 1, 2, 3});
    
        testRotate(new byte[] {1, 2, 3, 4, 5}, -6, new byte[] {2, 3, 4, 5, 1});
        testRotate(new byte[] {1, 2, 3, 4, 5}, -4, new byte[] {5, 1, 2, 3, 4});
        testRotate(new byte[] {1, 2, 3, 4, 5}, -3, new byte[] {4, 5, 1, 2, 3});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top