Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 50 for sepLength (0.19 seconds)

  1. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

          StringBuilder sb = new StringBuilder();
          for (String comp : components) {
            sb.append(comp);
            sb.append(DELIMITER_STRING);
          }
          if (sb.length() > 0) {
            sb.setLength(sb.length() - DELIMITER_STRING.length());
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 5K bytes
    - Click Count (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

        return result;
      }
    
      // TODO(user): Move this logic to a utility class.
      @JsType(isNative = true, name = "Array", namespace = JsPackage.GLOBAL)
      private interface NativeArray {
        @JsProperty
        void setLength(int length);
      }
    
      static MapMaker tryWeakKeys(MapMaker mapMaker) {
        return mapMaker;
      }
    
      static <E extends Enum<E>> Class<E> getDeclaringClassOrObjectForJ2cl(E e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 23 17:16:53 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  3. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

        for (int k = 0; k < size; k++) {
          // [9-127) includes all ascii non-control characters
          sb.append((char) (random.nextInt(127 - 9) + 9));
        }
        String string = sb.toString();
        sb.setLength(0);
        data = ByteSource.wrap(string.getBytes(charset));
      }
    
      @Benchmark
      public int timeCopy(int reps) throws IOException {
        int r = 0;
        Charset localCharset = charset;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

        for (int k = 0; k < size; k++) {
          // [9-127) includes all ascii non-control characters
          sb.append((char) (random.nextInt(127 - 9) + 9));
        }
        String string = sb.toString();
        sb.setLength(0);
        data = ByteSource.wrap(string.getBytes(charset));
      }
    
      @Benchmark
      public int timeCopy(int reps) throws IOException {
        int r = 0;
        Charset localCharset = charset;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

                    // Space outside quotes - end of argument
                    if (current.length() > 0) {
                        args.add(current.toString());
                        current.setLength(0);
                    }
                } else {
                    current.append(c);
                }
            }
    
            // Add last argument
            if (current.length() > 0) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

        }
    
        /**
         * Set the buffer length.
         *
         * @param length the new length
         * @return the current builder
         */
        MessageBuilder setLength(int length);
    
        /**
         * Return the built message.
         *
         * @return the message
         */
        @Nonnull
        String build();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Nov 02 09:29:52 GMT 2024
    - 7.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            assertEquals(expectedLength, smbRandomAccessFile.length());
        }
    
        @Test
        void testSetLength() throws SmbException {
            long newLength = 2048L;
            smbRandomAccessFile.setLength(newLength);
            // Verify length was set (actual behavior depends on implementation)
        }
    
        @Test
        void testSkipBytes() throws SmbException {
            int skipAmount = 100;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/job/LogNotificationJob.java

                        .append(" - ")
                        .append(message)
                        .append('\n');
                if (sb.length() > maxDetailsLength) {
                    sb.setLength(maxDetailsLength);
                    break;
                }
            }
    
            if (totalCount > displayCount) {
                sb.append("... and ").append(totalCount - displayCount).append(" more\n");
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

                // repository.
    
                plugin = findPluginForPrefix(prefix, session);
            }
    
            int executionIdx = goal.indexOf("@");
            if (executionIdx > 0) {
                goal.setLength(executionIdx);
            }
    
            injectPluginDeclarationFromProject(plugin, project);
    
            // If there is no version to be found then we need to look in the repository metadata for
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

                buf.append(t).append(' ');
                if (buf.length() > maxAnalyzedContentLength) {
                    processBuffer(analyzer, field, lang, useReading, tokens, buf, analyzeType, false);
                    buf.setLength(0);
                }
            }
            if (buf.length() > 0) {
                processBuffer(analyzer, field, lang, useReading, tokens, buf, analyzeType, true);
            }
            return tokens;
        }
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 15.2K bytes
    - Click Count (0)
Back to Top