Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1321 - 1330 of 1,647 for GoString (0.04 sec)

  1. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

        void testWithVeryLongFilename() {
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 100; i++) {
                sb.append("longname");
            }
            String longFileName = sb.toString() + ".txt";
    
            FileRenameInformation2 info = new FileRenameInformation2(longFileName, false);
    
            int expectedSize = 20 + 2 * longFileName.length();
            assertEquals(expectedSize, info.size());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

            System.setProperty("proxyPort", server.port.toString())
            return client
          }
        },
        HTTP_PROXY_SYSTEM_PROPERTY {
          override fun connect(
            server: MockWebServer,
            client: OkHttpClient,
          ): Call.Factory {
            System.setProperty("http.proxyHost", server.hostName)
            System.setProperty("http.proxyPort", server.port.toString())
            return client
          }
        },
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                sb.append("Long message content ");
            }
            String longMessage = sb.toString();
    
            CommandExecutionException exception = new CommandExecutionException(longMessage);
    
            assertNotNull(exception);
            assertEquals(longMessage, exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt

        val response: Response?,
      ) {
        val responseBody: String? =
          when {
            response != null && response.code != 101 -> response.body.string()
            else -> null
          }
    
        override fun toString(): String =
          when (response) {
            null -> "Failure[$t]"
            else -> "Failure[$response]"
          }
      }
    
      internal data class Message(
        val bytes: ByteString? = null,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            // Given
            String message = "Test CIFS runtime error";
            RuntimeCIFSException exception = new RuntimeCIFSException(message);
    
            // When
            String stringRep = exception.toString();
    
            // Then
            assertNotNull(stringRep);
            assertTrue(stringRep.contains("RuntimeCIFSException"));
            assertTrue(stringRep.contains(message));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java

     * convenience, to enable developers to pass things like <code>java.lang.StringBuffer</code> directly into the logger,
     * rather than formatting first by calling <code>toString()</code>.
     *
     * @since 4.0.0
     */
    @Experimental
    @Provider
    public interface Log {
        /**
         * {@return true if the <b>debug</b> error level is enabled}
         */
        boolean isDebugEnabled();
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheStats.java

      }
    
      @Override
      public String toString() {
        return MoreObjects.toStringHelper(this)
            .add("hitCount", hitCount)
            .add("missCount", missCount)
            .add("loadSuccessCount", loadSuccessCount)
            .add("loadExceptionCount", loadExceptionCount)
            .add("totalLoadTime", totalLoadTime)
            .add("evictionCount", evictionCount)
            .toString();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

          RangeMap<?, ?> rangeMap = (RangeMap<?, ?>) o;
          return asMapOfRanges().equals(rangeMap.asMapOfRanges());
        }
        return false;
      }
    
      @Override
      public String toString() {
        return asMapOfRanges().toString();
      }
    
      /**
       * This class is used to serialize ImmutableRangeMap instances. Serializes the {@link
       * #asMapOfRanges()} form.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            Type3Message type3 = new Type3Message(createMockContext(), type2, null, "password", "DOMAIN", "user", "WORKSTATION", 0);
    
            // When
            String stringRep = type3.toString();
    
            // Then
            assertNotNull(stringRep);
            assertTrue(stringRep.contains("Type3Message"));
            assertTrue(stringRep.contains("DOMAIN"));
            assertTrue(stringRep.contains("user"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            assertEquals("updated2", list.get(1).getInput());
        }
    
        public void test_toString() {
            protwordsFile.reload(null);
            String result = protwordsFile.toString();
            assertTrue(result.contains("ProtwordsFile"));
            assertTrue(result.contains("path=" + testFile.getAbsolutePath()));
            assertTrue(result.contains("id=test_id"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top