Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 4291 - 4300 of 7,132 for String (0.07 seconds)

  1. src/test/java/org/codelibs/fess/llm/LlmMessageTest.java

            final String str = message.toString();
            assertTrue(str.contains("..."));
            assertTrue(str.length() < longContent.length() + 50);
        }
    
        @Test
        public void test_toStringNullContent() {
            final LlmMessage message = new LlmMessage("user", null);
            final String str = message.toString();
            assertTrue(str.contains("content='null'"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/base/JoinerTest.java

        assertThat(j.join(ImmutableMultimap.of("1", "a", "1", "b").entries().iterator()))
            .isEqualTo("1:a;1:b");
    
        Map<@Nullable String, @Nullable String> mapWithNulls = new LinkedHashMap<>();
        mapWithNulls.put("a", null);
        mapWithNulls.put(null, "b");
        Set<Entry<@Nullable String, @Nullable String>> entriesWithNulls = mapWithNulls.entrySet();
    
        assertThrows(NullPointerException.class, () -> j.join(entriesWithNulls));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            ndrBuffer.setIndex(0);
            String decodedString = ndrBuffer.dec_ndr_string();
            assertEquals(testString, decodedString);
            assertEquals(expectedLength, ndrBuffer.getIndex());
    
            // Test empty string
            ndrBuffer.reset();
            String emptyString = "";
            ndrBuffer.enc_ndr_string(emptyString);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  4. internal/event/target/nsq_test.go

    )
    
    func TestNSQArgs_Validate(t *testing.T) {
    	type fields struct {
    		Enable      bool
    		NSQDAddress xnet.Host
    		Topic       string
    		TLS         struct {
    			Enable     bool
    			SkipVerify bool
    		}
    	}
    	tests := []struct {
    		name    string
    		fields  fields
    		wantErr bool
    	}{
    		{
    			name: "test1_missing_topic",
    			fields: fields{
    				Enable: true,
    				NSQDAddress: xnet.Host{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        pongQueue.add(payload)
        runWriter()
        return true
      }
    
      override fun close(
        code: Int,
        reason: String?,
      ): Boolean = close(code, reason, webSocketCloseTimeout)
    
      @Synchronized fun close(
        code: Int,
        reason: String?,
        cancelAfterCloseMillis: Long,
      ): Boolean {
        validateCloseCode(code)
    
        var reasonBytes: ByteString? = null
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/curl/CurlException.java

         */
        public CurlException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new CurlException with the specified detail message.
         *
         * @param message the detail message (which is saved for later retrieval by the {@link #getMessage()} method).
         */
        public CurlException(final String message) {
            super(message);
        }
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Jul 05 01:38:18 GMT 2025
    - 2K bytes
    - Click Count (0)
  7. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt

      override fun getSelectedProtocol(sslSocket: SSLSocket): String? {
        val s = sslSocket as BCSSLSocket
    
        return when (val protocol = s.applicationProtocol) {
          null, "" -> null
          else -> protocol
        }
      }
    
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/HeadersKotlinTest.kt

        assertThat(headers["c"]).isEqualTo("d")
        assertThat(headers["e"]).isNull()
      }
    
      @Test fun iteratorOperator() {
        val headers = headersOf("a", "b", "c", "d")
    
        val pairs = mutableListOf<Pair<String, String>>()
        for ((name, value) in headers) {
          pairs += name to value
        }
    
        assertThat(pairs).containsExactly("a" to "b", "c" to "d")
      }
    
      @Test fun builderGetOperator() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt

        if (shutdown) throw RejectedExecutionException()
        calls.add(command as RealCall.AsyncCall)
      }
    
      fun assertJobs(vararg expectedUrls: String) {
        val actualUrls = calls.map { it.request.url.toString() }
        assertThat(actualUrls).containsExactly(*expectedUrls)
      }
    
      fun finishJob(url: String) {
        val i = calls.iterator()
        while (i.hasNext()) {
          val call = i.next()
          if (call.request.url.toString() == url) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Oct 06 18:34:01 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  10. cmd/lceventsrc_string.go

    var _lcEventSrc_index = [...]uint8{0, 4, 8, 15, 20, 25, 37, 48, 61, 72, 84, 109}
    
    func (i lcEventSrc) String() string {
    	if i >= lcEventSrc(len(_lcEventSrc_index)-1) {
    		return "lcEventSrc(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _lcEventSrc_name[_lcEventSrc_index[i]:_lcEventSrc_index[i+1]]
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Dec 01 15:56:24 GMT 2023
    - 1.1K bytes
    - Click Count (0)
Back to Top