Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,039 for charAt (0.06 sec)

  1. src/main/java/jcifs/smb1/util/Encdec.java

            return di - start;
        }
        public static String dec_utf8( byte[] src, int si, int slim ) throws IOException {
            char[] uni = new char[slim - si];
            int ui, ch;
    
            for( ui = 0; si < slim && (ch = src[si++] & 0xFF) != 0; ui++ ) {
                if( ch < 0x80 ) {
                    uni[ui] = (char)ch;
                } else if((ch & 0xE0) == 0xC0 ) {
                    if((slim - si) < 2 ) {
                        break;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Lists.java

        @Override
        boolean isPartialView() {
          return false;
        }
    
        @Override
        public Character get(int index) {
          checkElementIndex(index, size()); // for GWT
          return string.charAt(index);
        }
    
        @Override
        public int size() {
          return string.length();
        }
    
        // redeclare to help optimizers with b/310253115
        @SuppressWarnings("RedundantOverride")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(
       *             flatteningToImmutableSetMultimap(
       *                  str -> str.charAt(0),
       *                  str -> str.substring(1).chars().mapToObj(c -> (char) c));
       *
       * // is equivalent to
       *
       * static final ImmutableSetMultimap<Character, Character> FIRST_LETTER_MULTIMAP =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

          new Function<@Nullable String, @Nullable Character>() {
            @Override
            public @Nullable Character apply(@Nullable String input) {
              return input == null ? null : input.charAt(0);
            }
          };
    
      abstract static class ColumnMapTests extends MapMapTests {
        ColumnMapTests(
            boolean allowsNullValues,
            boolean supportsRemove,
            boolean supportsClear,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/TableCollectionTest.java

          new Function<@Nullable String, @Nullable Character>() {
            @Override
            public @Nullable Character apply(@Nullable String input) {
              return input == null ? null : input.charAt(0);
            }
          };
    
      abstract static class ColumnMapTests extends MapMapTests {
        ColumnMapTests(
            boolean allowsNullValues,
            boolean supportsRemove,
            boolean supportsClear,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            }
            if (url.startsWith("file:")) {
                final String value = decodeUrlAsName(url.substring(5), true);
                if (value.length() > 2 && value.charAt(2) == ':') {
                    // Windows
                    return abbreviateSite(value.substring(1).replace('/', '\\'));
                }
                // Unix
                return abbreviateSite(value);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            }
            return Encdec.dec_uint16be(this.tmp, 0) & 0xFFFF;
        }
    
    
        @Override
        public final char readChar () throws SmbException {
            if ( ( read(this.tmp, 0, 2) ) < 0 ) {
                throw new SmbEndOfFileException();
            }
            return (char) Encdec.dec_uint16be(this.tmp, 0);
        }
    
    
        @Override
        public final int readInt () throws SmbException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        for (String edge : edges) {
          checkArgument(
              edge.length() == 2, "Expecting each edge to consist of 2 characters but got %s", edge);
          char node1 = edge.charAt(0);
          char node2 = edge.charAt(1);
          graphMapBuilder.put(node1, node2);
          if (!directed) {
            graphMapBuilder.put(node2, node1);
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/TraverserTest.java

        for (String edge : edges) {
          checkArgument(
              edge.length() == 2, "Expecting each edge to consist of 2 characters but got %s", edge);
          char node1 = edge.charAt(0);
          char node2 = edge.charAt(1);
          graphMapBuilder.put(node1, node2);
          if (!directed) {
            graphMapBuilder.put(node2, node1);
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

            l1 = path1.length() - p1;
            l2 = path2.length() - p2;
    
            // anything with dots voids comparison
            if (l1 > 1 && path1.charAt(p1 + 1) == '.')
                return true;
            if (l2 > 1 && path2.charAt(p2 + 1) == '.')
                return true;
    
            return l1 == l2 && path1.regionMatches(true, p1, path2, p2, l1);
        }
    /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top