Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for sequences (0.07 sec)

  1. android/guava/src/com/google/common/base/Utf8.java

       * time and space.
       *
       * @throws IllegalArgumentException if {@code sequence} contains ill-formed UTF-16 (unpaired
       *     surrogates)
       */
      public static int encodedLength(CharSequence sequence) {
        // Warning to maintainers: this implementation is highly optimized.
        int utf16Length = sequence.length();
        int utf8Length = utf16Length;
        int i = 0;
    
        // This loop optimizes for pure ASCII.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/PathValidator.java

                throw new SmbException("Path contains control characters");
            }
    
            // Check for traversal sequences
            if (containsTraversal(path)) {
                log.warn("Path contains directory traversal: {}", sanitizeForLog(path));
                throw new SmbException("Path contains directory traversal sequences");
            }
    
            // Normalize the path
            String normalized = normalizePath(path);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IterablesTest.java

      public void testIndexOf_genericPredicate() {
        List<CharSequence> sequences = new ArrayList<>();
        sequences.add("bob");
        sequences.add(new StringBuilder("charlie"));
        sequences.add(new StringBuilder("henry"));
        sequences.add(new StringBuilder("apple"));
        sequences.add("lemon");
    
        assertEquals(3, Iterables.indexOf(sequences, STARTSWITH_A));
      }
    
      public void testIndexOf_genericPredicate2() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      public void testIndexOf_genericPredicate() {
        List<CharSequence> sequences = new ArrayList<>();
        sequences.add("bob");
        sequences.add(new StringBuilder("charlie"));
        sequences.add(new StringBuilder("henry"));
        sequences.add(new StringBuilder("apple"));
        sequences.add("lemon");
    
        assertEquals(3, Iterables.indexOf(sequences, STARTSWITH_A));
      }
    
      public void testIndexOf_genericPredicate2() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

        }
    
        public void test_unescape() throws Exception {
            // Test with escaped characters (backslash sequences)
            String content = "test\\t1\n" + // escaped tab sequence
                    "test\\n2\n" + // escaped newline sequence
                    "test3\n"; // no escape
    
            // Write content to test file
            writeTestFile(content);
    
            // Reload the file
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/InputValidator.java

            }
            if (PATH_TRAVERSAL.matcher(path).find()) {
                throw new IllegalArgumentException("Path contains directory traversal sequences: " + path);
            }
            if (INVALID_PATH_CHARS.matcher(path).find()) {
                throw new IllegalArgumentException("Path contains invalid characters: " + path);
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Strings.java

       * Preconditions} class use this formatter, for both of the reasons just discussed.
       *
       * <p><b>Warning:</b> Only the exact two-character placeholder sequence {@code "%s"} is
       * recognized.
       *
       * @param template a string containing zero or more {@code "%s"} placeholder sequences. {@code
       *     null} is treated as the four-character string {@code "null"}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/ServerResponseValidator.java

            // Check for directory traversal
            if (path.contains("..") || path.contains("./") || path.contains(".\\")) {
                failedValidations.incrementAndGet();
                log.warn("Path contains traversal sequences: {}", sanitizeForLog(path));
                throw new SmbException("Path contains directory traversal");
            }
    
            // Check individual components
            String[] components = path.split("[/\\\\]");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.34.md

    - github.com/grpc-ecosystem/grpc-gateway: [v1.16.0](https://github.com/grpc-ecosystem/grpc-gateway/tree/v1.16.0)
    - github.com/konsorten/go-windows-terminal-sequences: [v1.0.1](https://github.com/konsorten/go-windows-terminal-sequences/tree/v1.0.1)
    - github.com/kr/logfmt: [b84e30a](https://github.com/kr/logfmt/tree/b84e30a)
    - github.com/opentracing/opentracing-go: [v1.1.0](https://github.com/opentracing/opentracing-go/tree/v1.1.0)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 27 10:36:10 UTC 2025
    - 292.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java

        }
    
        /**
         * Sets the sequence number for this heartbeat.
         * The sequence number should be incremented for each heartbeat request.
         *
         * @param sequenceNumber the sequence number
         */
        public void setSequenceNumber(long sequenceNumber) {
            this.sequenceNumber = sequenceNumber;
        }
    
        /**
         * Gets the sequence number.
         *
         * @return the sequence number
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top