Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for U01F23 (0.05 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            checkVersionsOrder("2.0.1-klm", "2.0.1-lmn");
            checkVersionsOrder("2.0.1", "2.0.1-xyz");
    
            checkVersionsOrder("2.0.1", "2.0.1-123");
            checkVersionsOrder("2.0.1-xyz", "2.0.1-123");
        }
    
        @Test
        void testLeadingZeroes() {
            checkVersionsOrder("0.7", "2");
            checkVersionsOrder("0.2", "1.0.7");
        }
    
        @Test
        void testGetCanonical() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/ByteSourceTest.java

        assertThrows(IOException.class, () -> okSource.copyTo(out));
        assertTrue(okSource.wasStreamClosed());
      }
    
      public void testConcat() throws IOException {
        ByteSource b1 = ByteSource.wrap(new byte[] {0, 1, 2, 3});
        ByteSource b2 = ByteSource.wrap(new byte[0]);
        ByteSource b3 = ByteSource.wrap(new byte[] {4, 5});
    
        byte[] expected = {0, 1, 2, 3, 4, 5};
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        assertThrows(IOException.class, () -> okSource.copyTo(out));
        assertTrue(okSource.wasStreamClosed());
      }
    
      public void testConcat() throws IOException {
        ByteSource b1 = ByteSource.wrap(new byte[] {0, 1, 2, 3});
        ByteSource b2 = ByteSource.wrap(new byte[0]);
        ByteSource b3 = ByteSource.wrap(new byte[] {4, 5});
    
        byte[] expected = {0, 1, 2, 3, 4, 5};
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        ImmutableDoubleArray.of().forEach(i -> fail());
        ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).forEach(i -> fail());
    
        AtomicInteger count = new AtomicInteger(0);
        ImmutableDoubleArray.of(0, 1, 2, 3)
            .forEach(i -> assertThat(i).isEqualTo((double) count.getAndIncrement()));
        assertThat(count.get()).isEqualTo(4);
      }
    
      public void testStream() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        ImmutableIntArray.of().forEach(i -> fail());
        ImmutableIntArray.of(0, 1, 3).subArray(1, 1).forEach(i -> fail());
    
        AtomicInteger count = new AtomicInteger(0);
        ImmutableIntArray.of(0, 1, 2, 3).forEach(i -> assertThat(i).isEqualTo(count.getAndIncrement()));
        assertThat(count.get()).isEqualTo(4);
      }
    
      public void testStream() {
        ImmutableIntArray.of().stream().forEach(i -> fail());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        ImmutableDoubleArray.of().forEach(i -> fail());
        ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).forEach(i -> fail());
    
        AtomicInteger count = new AtomicInteger(0);
        ImmutableDoubleArray.of(0, 1, 2, 3)
            .forEach(i -> assertThat(i).isEqualTo((double) count.getAndIncrement()));
        assertThat(count.get()).isEqualTo(4);
      }
    
      public void testStream() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. src/archive/tar/strconv_test.go

    		{"320330\x00 ", 0320330, true},
    		{"0000660\x00 ", 0660, true},
    		{"\x00 0000660\x00 ", 0660, true},
    		{"0123456789abcdef", 0, false},
    		{"0123456789\x00abcdef", 0, false},
    		{"01234567\x0089abcdef", 342391, true},
    		{"0123\x7e\x5f\x264123", 0, false},
    	}
    
    	for _, v := range vectors {
    		var p parser
    		got := p.parseNumeric([]byte(v.in))
    		ok := (p.err == nil)
    		if ok != v.ok {
    			if v.ok {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

        }
    
        public void test_normalizeUrl() {
            String url;
    
            url = "http://hoge/index 123.html";
            assertEquals("http://hoge/index%20123.html", htmlTransformer.normalizeUrl(url));
    
            url = "http://hoge/index.html";
            assertEquals(url, htmlTransformer.normalizeUrl(url));
    
            url = "http://hoge/index.html?a=1";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top