Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 223 for trailing (0.81 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpDateTest.kt

          .isEqualTo(28800000L)
        // Ignore trailing junk
        assertThat("Thursday, 01-Jan-1970 00:00:00 PST JUNK".toHttpDateOrNull()!!.time)
          .isEqualTo(28800000L)
    
        // ANSI C's asctime() format
        // This format ignores the timezone entirely even if it is present and uses GMT.
        assertThat("Fri Jun 6 12:30:30 2014 PST".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L)
        // Ignore trailing junk.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Utf8.java

                //     || byte1 == (byte) 0xF4 && byte2 > (byte) 0x8F)
                || (((byte1 << 28) + (byte2 - (byte) 0x90)) >> 30) != 0
                // Third byte trailing-byte test
                || bytes[index++] > (byte) 0xBF
                // Fourth byte trailing-byte test
                || bytes[index++] > (byte) 0xBF) {
              return false;
            }
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt

      var result = STANDARD_DATE_FORMAT.get().parse(this, position)
      if (position.index == length) {
        // STANDARD_DATE_FORMAT must match exactly; all text must be consumed, e.g. no ignored
        // non-standard trailing "+01:00". Those cases are covered below.
        return result
      }
      synchronized(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS) {
        for (i in 0 until BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS.size) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/UnicodeEscaper.java

        int destIndex = 0;
        int unescapedChunkStart = 0;
    
        while (index < end) {
          int cp = codePointAt(s, index, end);
          if (cp < 0) {
            throw new IllegalArgumentException("Trailing high surrogate at end of input");
          }
          // It is possible for this to return null because nextEscapeIndex() may
          // (for performance reasons) yield some false positives but it must never
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/escape/UnicodeEscaper.java

        int destIndex = 0;
        int unescapedChunkStart = 0;
    
        while (index < end) {
          int cp = codePointAt(s, index, end);
          if (cp < 0) {
            throw new IllegalArgumentException("Trailing high surrogate at end of input");
          }
          // It is possible for this to return null because nextEscapeIndex() may
          // (for performance reasons) yield some false positives but it must never
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/SplitterTest.java

        assertThat(letters).containsExactly("a", "", " b", "c").inOrder();
      }
    
      public void testCharacterSplitWithTrailingDelimiter() {
        String trailing = "a,b,c,";
        Iterable<String> letters = COMMA_SPLITTER.split(trailing);
        assertThat(letters).containsExactly("a", "b", "c", "").inOrder();
      }
    
      public void testCharacterSplitWithLeadingDelimiter() {
        String leading = ",a,b,c";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/FessAppService.java

         * to support prefix and suffix matching in search operations.
         *
         * @param query the query string to wrap with wildcards
         * @return the wrapped query string with leading and trailing asterisks
         */
        protected static String wrapQuery(final String query) {
            final StringBuilder sb = new StringBuilder();
            if (!query.startsWith("*")) {
                sb.append("*");
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

            // Execute
            corsHandlerFactory.add(originWithSlash, handlerWithSlash);
            corsHandlerFactory.add(originWithoutSlash, handlerWithoutSlash);
    
            // Verify - trailing slash matters
            assertEquals(handlerWithSlash, corsHandlerFactory.get(originWithSlash));
            assertEquals(handlerWithoutSlash, corsHandlerFactory.get(originWithoutSlash));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/resources/web-platform-test-toascii.json

        "output": "xn----xhn"
      },
      {
        "input": "-x.xn--zca",
        "output": "-x.xn--zca"
      },
      {
        "input": "-x.ß",
        "output": "-x.xn--zca"
      },
      {
        "comment": "Label with trailing hyphen",
        "input": "x-.xn--zca",
        "output": "x-.xn--zca"
      },
      {
        "input": "x-.ß",
        "output": "x-.xn--zca"
      },
      {
        "comment": "Empty labels",
        "input": "x..xn--zca",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
       * Always append the delimiter after the component, and in the very end shortens the buffer to get
       * rid of the extra trailing delimiter.
       */
      @Benchmark
      int alwaysAppendThenBackUp(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          StringBuilder sb = new StringBuilder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top