Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 158 for 123_ (0.14 sec)

  1. guava-tests/test/com/google/common/base/ConverterTest.java

        List<String> mutableList = Lists.newArrayList("789", "123");
        Iterable<Long> convertedValues = STR_TO_LONG.convertAll(mutableList);
        assertEquals(ImmutableList.of(789L, 123L), ImmutableList.copyOf(convertedValues));
    
        Iterator<Long> iterator = convertedValues.iterator();
        iterator.next();
        iterator.remove();
        assertEquals(ImmutableList.of("123"), mutableList);
      }
    
      public void testReverse() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:02:33 GMT 2023
    - 7.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/ConverterTest.java

        List<String> mutableList = Lists.newArrayList("789", "123");
        Iterable<Long> convertedValues = STR_TO_LONG.convertAll(mutableList);
        assertEquals(ImmutableList.of(789L, 123L), ImmutableList.copyOf(convertedValues));
    
        Iterator<Long> iterator = convertedValues.iterator();
        iterator.next();
        iterator.remove();
        assertEquals(ImmutableList.of("123"), mutableList);
      }
    
      public void testReverse() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:02:33 GMT 2023
    - 7.8K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/lex_test.go

    		lines(
    			"#define A",
    			"#ifdef A",
    			"#define B 1234",
    			"#endif",
    			"B",
    		),
    		"1234.\n",
    	},
    	{
    		"not taken #ifdef",
    		lines(
    			"#ifdef A",
    			"#define B 1234",
    			"#endif",
    			"B",
    		),
    		"B.\n",
    	},
    	{
    		"taken #ifdef with else",
    		lines(
    			"#define A",
    			"#ifdef A",
    			"#define B 1234",
    			"#else",
    			"#define B 5678",
    			"#endif",
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertTrue(len4.matches('c'));
        assertTrue(len4.matches('d'));
        for (char c = 'e'; c < 'z'; c++) {
          assertFalse(len4.matches(c));
        }
    
        Random rand = new Random(1234);
        for (int testCase = 0; testCase < 100; testCase++) {
          char[] chars = randomChars(rand, rand.nextInt(63) + 1);
          CharMatcher m = SmallCharMatcher.from(bitSet(chars), new String(chars));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertTrue(len4.matches('c'));
        assertTrue(len4.matches('d'));
        for (char c = 'e'; c < 'z'; c++) {
          assertFalse(len4.matches(c));
        }
    
        Random rand = new Random(1234);
        for (int testCase = 0; testCase < 100; testCase++) {
          char[] chars = randomChars(rand, rand.nextInt(63) + 1);
          CharMatcher m = SmallCharMatcher.from(bitSet(chars), new String(chars));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  6. src/bytes/bytes_test.go

    	{faces, "☹", -1, []string{"☺☻☹", ""}},
    	{faces, "~", -1, []string{faces}},
    	{faces, "", -1, []string{"☺", "☻", "☹"}},
    	{"1 2 3 4", " ", 3, []string{"1 ", "2 ", "3 4"}},
    	{"1 2 3", " ", 3, []string{"1 ", "2 ", "3"}},
    	{"1 2", " ", 3, []string{"1 ", "2"}},
    	{"123", "", 2, []string{"1", "23"}},
    	{"123", "", 17, []string{"1", "2", "3"}},
    }
    
    func TestSplitAfter(t *testing.T) {
    	for _, tt := range splitaftertests {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

      }
    
      @Test
      fun kotlinReifiedTag() {
        val uuidTag = "1234"
        val request =
          Request.Builder()
            .url("https://square.com")
            .tag<String>(uuidTag) // Use the type parameter.
            .build()
        assertThat(request.tag<String>()).isSameAs("1234")
        assertThat(request.tag<Any>()).isNull()
    
        // Alternate access APIs also work.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  8. cni/pkg/plugin/plugin_test.go

    			name: "No duplicates",
    			args: args{ports: []string{"1234", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Sequential Duplicates",
    			args: args{ports: []string{"1234", "1234", "2345", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Mixed Duplicates",
    			args: args{ports: []string{"1234", "2345", "1234", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Empty",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            queries = new String[] { "123", "456" };
            assertEquals("<strong>123</strong><aaa 123><strong>456</strong><bbb 456><strong>123</strong>",
                    viewHelper.replaceHighlightQueries(text, queries));
    
            text = "abc";
            queries = new String[] { "123" };
            assertEquals("abc", viewHelper.replaceHighlightQueries(text, queries));
    
            text = "123";
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java

            assertEquals("123 abc", documentHelper.getContent(null, responseData, " 123 abc ", dataMap));
            assertEquals("123 あいう", documentHelper.getContent(null, responseData, " 123 あいう ", dataMap));
            assertEquals("123 abc", documentHelper.getContent(null, responseData, " 123\nabc ", dataMap));
        }
    
        public void test_getContent_maxAlphanum() {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11K bytes
    - Viewed (0)
Back to top