Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 1,848 for lengths (0.04 sec)

  1. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java

      static String format(String template, Object... args) {
        // start substituting the arguments into the '%s' placeholders
        StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
        int templateStart = 0;
        int i = 0;
        while (i < args.length) {
          int placeholderStart = template.indexOf("%s", templateStart);
          if (placeholderStart == -1) {
            break;
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. tests/lru_test.go

    	}
    	if v != "" {
    		t.Fatalf("should be nil")
    	}
    
    	if lc.Len() != 0 {
    		t.Fatalf("length differs from expected")
    	}
    	if !reflect.DeepEqual(evicted, []string{"key1", "val1"}) {
    		t.Fatalf("value differs from expected")
    	}
    
    	// add new entry
    	lc.Add("key2", "val2")
    	if lc.Len() != 1 {
    		t.Fatalf("length differs from expected")
    	}
    
    	k, v, ok = lc.GetOldest()
    	if k != "key2" {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/user/bsentity/BsRole.java

        @Override
        protected String doBuildColumnString(String dm) {
            StringBuilder sb = new StringBuilder();
            sb.append(dm).append(name);
            if (sb.length() > dm.length()) {
                sb.delete(0, dm.length());
            }
            sb.insert(0, "{").append("}");
            return sb.toString();
        }
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/UniAddress.java

        }
    
        static boolean isDotQuadIP(final String hostname) {
            if (hostname != null && hostname.length() > 0 && Character.isDigit(hostname.charAt(0))) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0; /* quick IP address validation */
                len = hostname.length();
                data = hostname.toCharArray();
                while (i < len && Character.isDigit(data[i++])) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/BufferCacheImpl.java

            // better safe than sorry: prevent leaks if there is some out of bound access
            Arrays.fill(buf, (byte) 0);
            synchronized (this.cache) {
                if (this.freeBuffers < this.cache.length) {
                    for (int i = 0; i < this.cache.length; i++) {
                        if (this.cache[i] == null) {
                            this.cache[i] = buf;
                            this.freeBuffers++;
                            return;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java

            return ("TransCallNamedPipeResponse[" + super.toString() + "]");
        }
    
        /**
         * Gets the length of the response data received from the named pipe.
         *
         * @return response data length
         */
        public int getResponseLength() {
            return getDataCount();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

         */
        public String decodeSimilarDocHash(final String hash) {
            if (hash != null && hash.startsWith(SIMILAR_DOC_HASH_PREFIX) && hash.length() > SIMILAR_DOC_HASH_PREFIX.length()) {
                final byte[] decode = Base64.getUrlDecoder().decode(hash.substring(SIMILAR_DOC_HASH_PREFIX.length()));
                try (BufferedReader reader =
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

              mapEntry("quux", 1),
              mapEntry("toaster", -2));
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public Entry<String, Integer>[] createArray(int length) {
          return (Entry<String, Integer>[]) new Entry<?, ?>[length];
        }
    
        @Override
        public Iterable<Entry<String, Integer>> order(List<Entry<String, Integer>> insertionOrder) {
          return new Ordering<Entry<String, Integer>>() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Microbenchmark for {@link Splitter#on} with char vs String with length == 1.
     *
     * @author Paul Lindner
     */
    @NullUnmarked
    public class SplitterBenchmark {
      // overall size of string
      @Param({"1", "10", "100", "1000"})
      int length;
    
      // Number of matching strings
      @Param({"xxxx", "xxXx", "xXxX", "XXXX"})
      String text;
    
      private String input;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

        }
    
        @Override
        public K[] createKeyArray(int length) {
          return ((TestMapGenerator<K, V>) mapGenerator.getInnerGenerator()).createKeyArray(length);
        }
    
        @Override
        public V[] createValueArray(int length) {
          return ((TestMapGenerator<K, V>) mapGenerator.getInnerGenerator()).createValueArray(length);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top