Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 155 for abcd (0.03 sec)

  1. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

      }
    
      public void testEmptiesFirst() {
        Optional<String> empty = Optional.empty();
        Optional<String> abc = Optional.of("abc");
        Optional<String> z = Optional.of("z");
    
        Comparator<Optional<String>> comparator = emptiesFirst(comparing(String::length));
        testComparator(comparator, empty, z, abc);
    
        // Just demonstrate that no explicit type parameter is required
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            text = "abc";
            queries = new String[] { "abc" };
            assertEquals("<strong>abc</strong>", viewHelper.replaceHighlightQueries(text, queries));
    
            text = "1ABC2";
            queries = new String[] { "abc" };
            assertEquals("1<strong>abc</strong>2", viewHelper.replaceHighlightQueries(text, queries));
    
            text = "abc on exy";
            queries = new String[] { "on" };
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java

            assertEquals("", documentHelper.getContent(null, responseData, "\t \t", dataMap));
            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() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

        this.server = server
      }
    
      @Test
      fun suspendCall() {
        runTest {
          server.enqueue(MockResponse(body = "abc"))
    
          val call = client.newCall(request)
    
          call.executeAsync().use {
            withContext(Dispatchers.IO) {
              assertThat(it.body.string()).isEqualTo("abc")
            }
          }
        }
      }
    
      @Test
      fun timeoutCall() {
        runTest {
          server.enqueue(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt

          Headers.Builder()
            .add("WWW-Authenticate", "Other abc==")
            .build()
        assertThat(headers.parseChallenges("WWW-Authenticate"))
          .isEqualTo(
            listOf(Challenge("Other", mapOf(null to "abc=="))),
          )
      }
    
      @Test fun token68AndAuthParams() {
        val headers =
          Headers.Builder()
            .add("WWW-Authenticate", "Other abc==, realm=myrealm")
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            assertEquals("abc", fessXpathTransformer.removeCommentTag("abc"));
            assertEquals("abc ", fessXpathTransformer.removeCommentTag("abc<!-- foo -->"));
            assertEquals("abc 123", fessXpathTransformer.removeCommentTag("abc<!-- fo\no -->123"));
            assertEquals("abc 123", fessXpathTransformer.removeCommentTag("abc<!--\n foo -->123"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

      @Test fun byteCount() {
        assertThat(EMPTY_HEADERS.byteCount()).isEqualTo(0L)
        assertThat(
          Headers.Builder()
            .add("abc", "def")
            .build()
            .byteCount(),
        ).isEqualTo(10L)
        assertThat(
          Headers.Builder()
            .add("abc", "def")
            .add("ghi", "jkl")
            .build()
            .byteCount(),
        ).isEqualTo(20L)
      }
    
      @Test fun addDate() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

                + "field1=This is string., field2=[abc, def, ghi], field3={abc=1, def=2, ghi=3}}";
    
        assertEquals(expected, toTest);
      }
    
      public void testToStringLenient_complexFields() {
        Map<String, Integer> map =
            ImmutableMap.<String, Integer>builder().put("abc", 1).put("def", 2).put("ghi", 3).build();
        String toTest =
            MoreObjects.toStringHelper(new TestClass())
                .add("field1", "This is string.")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 21:19:18 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  9. internal/grid/types_test.go

    		t.Errorf("MSS: %v != %v", v, v2)
    	}
    }
    
    func BenchmarkMarshalMsgMSS(b *testing.B) {
    	v := MSS{"abc": "def", "ghi": "jkl"}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgMSS(b *testing.B) {
    	v := MSS{"abc": "def", "ghi": "jkl"}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/ResponseJvmTest.kt

            }
          }
    
        assertThat(response.trailers()["a"]).isEqualTo("b")
      }
    
      @Test fun peekAfterReadingResponse() {
        val response = newResponse(responseBody("abc"))
        assertThat(response.body.string()).isEqualTo("abc")
    
        assertFailsWith<IllegalStateException> {
          response.peekBody(3)
        }
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top