Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for TRAILING (0.16 sec)

  1. 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;
            }
          }
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        String test = "abc" + Character.MIN_HIGH_SURROGATE;
        try {
          escapeAsString(NOP_ESCAPER, test);
          fail("Trailing high surrogate should cause exception");
        } catch (IllegalArgumentException expected) {
          // Pass
        }
        try {
          escapeAsString(SIMPLE_ESCAPER, test);
          fail("Trailing high surrogate should cause exception");
        } catch (IllegalArgumentException expected) {
          // Pass
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbResourceLocator.java

         * the root URL <code>smb://</code> is also <code>smb://</code>. If this
         * <tt>SmbFile</tt> refers to a workgroup, server, share, or directory,
         * the name will include a trailing slash '/' so that composing new
         * <tt>SmbFile</tt>s will maintain the trailing slash requirement.
         *
         * @return The last component of the URL associated with this SMB
         *         resource or <code>smb://</code> if the resource is <code>smb://</code>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.6K bytes
    - Viewed (0)
  4. 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();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

     *
     */
    @Deprecated
    public interface ArtifactTransferResource {
    
        /**
         * The base URL of the repository, e.g. "http://repo1.maven.org/maven2/". Unless the URL is unknown, it will be
         * terminated by a trailing slash.
         *
         * @return The base URL of the repository or an empty string if unknown, never {@code null}.
         */
        String getRepositoryUrl();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2K bytes
    - Viewed (0)
  6. 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;
            }
          }
        }
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharSinkTester.java

        String expected = expectedLines.isEmpty() ? "" : Joiner.on(separator).join(expectedLines);
        if (!lines.isEmpty()) {
          // if we wrote any lines in writeLines(), there will be a trailing newline
          expected += separator;
        }
        assertEquals(expected, factory.getSinkContents());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

     *
     * <ul>
     * <li>Removes leading '*' characters.</li>
     * <li>Removes block tags.</li>
     * <li>Removes leading and trailing empty lines.</li>
     * </ul>
     */
    class JavadocScanner {
        private final StringBuilder input = new StringBuilder();
        private int pos;
        private int markPos;
    
        JavadocScanner(String rawCommentText) {
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        String test = "abc" + Character.MIN_HIGH_SURROGATE;
        try {
          escapeAsString(NOP_ESCAPER, test);
          fail("Trailing high surrogate should cause exception");
        } catch (IllegalArgumentException expected) {
          // Pass
        }
        try {
          escapeAsString(SIMPLE_ESCAPER, test);
          fail("Trailing high surrogate should cause exception");
        } catch (IllegalArgumentException expected) {
          // Pass
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.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();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
Back to top