Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1441 - 1450 of 1,682 for ToString (0.1 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

        val c = this[i]
        if (c <= '\u001f' || c >= '\u007f') {
          return i
        }
      }
      return -1
    }
    
    /** Returns true if we should void putting this this header in an exception or toString(). */
    internal fun isSensitiveHeader(name: String): Boolean {
      return name.equals("Authorization", ignoreCase = true) ||
        name.equals("Cookie", ignoreCase = true) ||
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/AllTests.java

         * @throws IOException
         */
        protected static void loadConfigFile ( Path config, String[] applyMutations, Map<String, Map<String, String>> configs ) throws IOException {
            String fname = config.getFileName().toString();
            if ( !fname.endsWith(".conf") ) {
                return;
            }
            Properties props = new Properties();
            try ( FileChannel ch = FileChannel.open(config, StandardOpenOption.READ);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 14.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

            .add("user-agent", "OkHttp")
            .build()
        val request =
          Request(
            "https://square.com".toHttpUrl(),
            headers,
          )
        assertThat(request.toString()).isEqualTo(
          "Request{method=GET, url=https://square.com/, headers=[" +
            "content-length:99," +
            " authorization:██," +
            " proxy-authorization:██," +
            " cookie:██," +
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            for (int i = 1; i < values.length; i++) {
                buf.append('\n').append(prefix).append(i + 1).append(':').append(values[i]);
            }
            return buf.toString();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/GeneralRange.java

                  getLowerEndpoint(),
                  getLowerBoundType());
          result.reverse = this;
          return this.reverse = result;
        }
        return result;
      }
    
      @Override
      public String toString() {
        return comparator
            + ":"
            + (lowerBoundType == CLOSED ? '[' : '(')
            + (hasLowerBound ? lowerEndpoint : "-\u221e")
            + ','
            + (hasUpperBound ? upperEndpoint : "\u221e")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/StringsTest.java

        assertThat(Strings.lenientFormat("boiler %s plate", new ThrowsOnToString()))
            .matches("boiler <.*> plate");
      }
    
      private static class ThrowsOnToString {
        @Override
        public String toString() {
          throw new UnsupportedOperationException();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        TimeoutException e =
            assertThrows(
                TimeoutException.class, () -> service.startAsync().awaitRunning(1, MILLISECONDS));
        assertThat(e.getMessage()).contains(Service.State.STARTING.toString());
      }
    
      private class TimeoutOnStartUp extends AbstractExecutionThreadService {
        @Override
        protected Executor executor() {
          return new Executor() {
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RangeMap.java

      /** Returns {@code asMapOfRanges().hashCode()}. */
      @Override
      int hashCode();
    
      /** Returns a readable string representation of this range map. */
      @Override
      String toString();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            assertThat(map.equals(copy), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToString() throws Exception {
            assertThat(map.toString(), is(notNullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testClear() throws Exception {
            map.clear();
            assertThat(map.size(), is(0));
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/ByteSourceTest.java

        // Pasted this expected string from `echo hamburger | md5sum`
        assertEquals("cfa0c5002275c90508338a5cdb2a9781", byteSource.hash(Hashing.md5()).toString());
      }
    
      public void testContentEquals() throws IOException {
        assertTrue(source.contentEquals(source));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top