Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 731 for charsB (0.06 sec)

  1. guava/src/com/google/common/escape/UnicodeEscaper.java

       */
      private static char[] growBuffer(char[] dest, int index, int size) {
        if (size < 0) { // overflow - should be OutOfMemoryError but GWT/j2cl don't support it
          throw new AssertionError("Cannot increase internal buffer any further");
        }
        char[] copy = new char[size];
        if (index > 0) {
          System.arraycopy(dest, 0, copy, 0, index);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/UnicodeString.java

                this.buffer[i] = (short) str.charAt(i);
            }
            if (zterm) {
                this.buffer[i] = (short) 0;
            }
        }
    
        @Override
        public String toString() {
            final int len = this.length / 2 - (this.zterm ? 1 : 0);
            final char[] ca = new char[len];
            for (int i = 0; i < len; i++) {
                ca[i] = (char) this.buffer[i];
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(
       *             flatteningToImmutableListMultimap(
       *                  str -> str.charAt(0),
       *                  str -> str.substring(1).chars().mapToObj(c -> (char) c));
       *
       * // is equivalent to
       *
       * static final ImmutableListMultimap<Character, Character> FIRST_LETTER_MULTIMAP =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

        @Test
        @DisplayName("Test size calculation with short filename")
        void testSizeWithShortFilename() {
            FileRenameInformation2 info = new FileRenameInformation2("test.txt", false);
            // 20 bytes fixed + 2 * 8 chars = 20 + 16 = 36
            assertEquals(36, info.size());
        }
    
        @Test
        @DisplayName("Test size calculation with long filename")
        void testSizeWithLongFilename() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/FacetResponseTest.java

            // Test various complex field names
            String[] fieldNames = { "simple_field", "field-with-dashes", "field.with.dots", "field_with_underscores", "fieldWithCamelCase",
                    "field with spaces", "field@with#special!chars", "フィールド名", "字段名称", "필드명" };
    
            for (String fieldName : fieldNames) {
                String encoded = BaseEncoding.base64().encode(fieldName.getBytes(StandardCharsets.UTF_8));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NetworkExplorer.java

        }
    
        private String parseServerAndShare(final String pathInfo) {
            final char[] out = new char[256];
            char ch;
            int len, p, i;
    
            if (pathInfo == null) {
                return null;
            }
            len = pathInfo.length();
    
            p = i = 0;
            while (p < len && pathInfo.charAt(p) == '/') {
                p++;
            }
            if (p == len) {
                return null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        }
    
        /**
         * @throws MalformedURLException
         *
         */
        private synchronized void canonicalizePath() {
            final char[] in = this.url.getPath().toCharArray();
            final char[] out = new char[in.length];
            final int length = in.length;
            int prefixLen = 0, state = 0;
    
            /*
             * The canonicalization routine
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        String expected = "abcdabcd";
    
        // read the first 8 chars manually, since there's no equivalent to ByteSource.slice
        // TODO(cgdecker): Add CharSource.slice?
        StringBuilder builder = new StringBuilder();
        Reader reader = concatenated.openStream(); // no need to worry about closing
        for (int i = 0; i < 8; i++) {
          builder.append((char) reader.read());
        }
        assertEquals(expected, builder.toString());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/CharsTest.java

            .isEqualTo(1);
        assertThat(
                Chars.indexOf(
                    new char[] {(char) 2, (char) 3, (char) 2, (char) 3, (char) 4, (char) 2, (char) 3},
                    new char[] {(char) 2, (char) 3, (char) 4}))
            .isEqualTo(2);
        assertThat(
                Chars.indexOf(
                    new char[] {(char) 2, (char) 2, (char) 3, (char) 4, (char) 2, (char) 3, (char) 4},
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Files.java

          imports = "com.google.common.io.Files")
      public
      static void copy(File from, Charset charset, Appendable to) throws IOException {
        asCharSource(from, charset).copyTo(to);
      }
    
      /**
       * Appends a character sequence (such as a string) to a file using the given character set.
       *
       * @param from the character sequence to append
       * @param to the destination file
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top