Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1121 - 1130 of 5,095 for tstring (0.05 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/PostStreaming.kt

              for (i in 2..997) {
                sink.writeUtf8(String.format(" * $i = ${factor(i)}\n"))
              }
            }
    
            private fun factor(n: Int): String {
              for (i in 2 until n) {
                val x = n / i
                if (x * i == n) return "${factor(x)} × $i"
              }
              return n.toString()
            }
          }
    
        val request =
          Request(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

         * @param remark the optional comment or description for the share
         */
        public SmbShareInfo(final String netName, final int type, final String remark) {
            this.netName = netName;
            this.type = type;
            this.remark = remark;
        }
    
        @Override
        public String getName() {
            return this.netName;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                        return;
                    }
                } else { /* Basic */
                    final String auth = new String(Base64.decode(msg.substring(6)), "US-ASCII");
                    int index = auth.indexOf(':');
                    String user = index != -1 ? auth.substring(0, index) : auth;
                    final String password = index != -1 ? auth.substring(index + 1) : "";
                    index = user.indexOf('\\');
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTransportImplTest.java

                    transport.getRequestSecurityMode(firstReq));
        }
    
        @Test
        @DisplayName("toString contains key fields without throwing")
        void toStringContainsInfo() {
            String s = transport.toString();
            assertNotNull(s);
            assertTrue(s.contains("state="));
            assertTrue(s.contains(":445"));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            assertTrue(item1.equals(item2));
        }
    
        public void test_toString() {
            String[] inputs = { "a", "b" };
            CharMappingItem item = new CharMappingItem(1L, inputs, "output");
            item.setNewInputs(new String[] { "x", "y" });
            item.setNewOutput("newOutput");
    
            String str = item.toString();
            assertTrue(str.contains("id=1"));
            assertTrue(str.contains("inputs=[a, b]"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

                    new TestStringSortedMapGenerator() {
                      @Override
                      protected SortedMap<String, String> create(Entry<String, String>[] entries) {
                        NavigableMap<String, String> map = new SafeTreeMap<>();
                        for (Entry<String, String> entry : entries) {
                          map.put(entry.getKey(), entry.getValue());
                        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            // Test constructor with long message
            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)
  8. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

        }
    
        @Test
        @DisplayName("Should create meaningful string representation")
        void testToString() {
            // Given
            String message = "Test CIFS runtime error";
            RuntimeCIFSException exception = new RuntimeCIFSException(message);
    
            // When
            String stringRep = exception.toString();
    
            // Then
            assertNotNull(stringRep);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactStatus.java

        private final int rank;
    
        private final String key;
    
        private static Map<String, ArtifactStatus> map;
    
        private ArtifactStatus(String key, int rank) {
            this.rank = rank;
            this.key = key;
    
            if (map == null) {
                map = new HashMap<>();
            }
            map.put(key, this);
        }
    
        public static ArtifactStatus valueOf(String status) {
            ArtifactStatus retVal = null;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

        /**
         * Return the domain and username in the format:
         * {@code domain\\username}. This is equivalent to {@code getName()}.
         */
        @Override
        public String toString() {
            return getName();
        }
    
        static String unescape(final String str) throws NumberFormatException, UnsupportedEncodingException {
            char ch;
            int i, j, state, len;
            char[] out;
            final byte[] b = new byte[1];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
Back to top