Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1321 - 1330 of 5,095 for tstring (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

            .addUnsafeNonAscii("header1", "valué1")
            .build()
        assertThat(headers.toString()).isEqualTo("header1: valué1\n")
      }
    
      // Fails on JS, ClassCastException: Illegal cast
      @Test fun ofMapThrowsOnNull() {
        assertFailsWith<NullPointerException> {
          (mapOf("User-Agent" to null) as Map<String, String>).toHeaders()
        }
      }
    
      @Test fun toMultimapGroupsHeaders() {
        val headers =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

      /** A hostname pattern and certificate hash for Certificate Pinning. */
      class Pin(
        pattern: String,
        pin: String,
      ) {
        /** A hostname like `example.com` or a pattern like `*.example.com` (canonical form). */
        val pattern: String
    
        /** Either `sha1` or `sha256`. */
        val hashAlgorithm: String
    
        /** The hash of the pinned certificate using [hashAlgorithm]. */
        val hash: ByteString
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.1K bytes
    - Viewed (1)
  3. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            });
        }
    
        @Test
        @DisplayName("Should create string representation")
        void testStringRepresentation() {
            // Given
            Type1Message type1 = new Type1Message(mockContext, NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE, "DOMAIN", "WORKSTATION");
    
            // When
            String stringRep = type1.toString();
    
            // Then
            assertNotNull(stringRep);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

            return 0;
        }
    
        @Override
        int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
            return ("SmbComNTCreateAndX[" + super.toString() + ",flags=0x" + Hexdump.toHexString(flags0, 2) + ",rootDirectoryFid="
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

         * The input object can be either a single string or a list of strings representing URLs.
         *
         * @param obj the object containing anchor URLs (String or List of Strings)
         * @return a set of RequestData objects for the anchor URLs, or null if no valid URLs found
         */
        protected Set<RequestData> getAnchorSet(final Object obj) {
            List<String> anchorList;
            if (obj instanceof final String s) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            assertTrue(response instanceof Smb2CreateResponse);
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() {
            request = new Smb2CreateRequest(mockConfig, "test\\file.txt");
            request.setResolveInDfs(true);
    
            String str = request.toString();
            assertNotNull(str);
            assertTrue(str.contains("name=test\\file.txt"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

        @Override
        public String toString() {
            if (isEmpty()) {
                return "empty";
            }
            StringBuilder sb = new StringBuilder(512);
            for (MetadataGraphVertex v : vertices) {
                sb.append("Vertex:  ").append(v.getMd().toString()).append('\n');
                List<MetadataGraphEdge> ins = getIncidentEdges(v);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt

            .addPart("Hello, World!".toRequestBody(null))
            .build()
        assertThat(body.boundary).isEqualTo("123")
        assertThat(body.type).isEqualTo(MultipartBody.MIXED)
        assertThat(body.contentType().toString())
          .isEqualTo("multipart/mixed; boundary=123")
        assertThat(body.parts.size).isEqualTo(1)
        assertThat(body.contentLength()).isEqualTo(33L)
        val buffer = Buffer()
        body.writeTo(buffer)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt

        return result
      }
    
      /**
       * Returns a string with the URL hostname, socket IP address, and socket port, like one of these:
       *
       *  * `example.com:80 at 1.2.3.4:8888`
       *  * `example.com:443 via proxy [::1]:8888`
       *
       * This omits duplicate information when possible.
       */
      override fun toString(): String =
        buildString {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

        @Override
        protected String prepareConfigFile() {
            return "app.xml";
        }
    
        @Override
        protected boolean isUseOneTimeContainer() {
            return true;
        }
    
        @Override
        public void setUp() throws Exception {
            // create runner instance
            runner = new OpenSearchRunner();
            // create ES nodes
            final String clusterName = UUID.randomUUID().toString();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top