Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 93 for setLength (0.22 sec)

  1. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

            }
            Throwable t = cause.getCause();
            while (t != null) {
                buf.append(t.getMessage()).append("], [");
                t = t.getCause();
            }
            buf.setLength(buf.length() - 4);
            return new String(buf);
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/message/MessageFormatter.java

                return "";
            }
            final StringBuilder buffer = new StringBuilder();
            for (final Object arg : args) {
                buffer.append(arg + ", ");
            }
            buffer.setLength(buffer.length() - ", ".length());
            return new String(buffer);
        }
    
        /**
         * 初期化します。
         */
        protected static synchronized void initialize() {
            if (!initialized) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            advance(l);
        }
        public void readOctetArray(byte[] b, int i, int l) {
            System.arraycopy(buf, index, b, i, l);
            advance(l);
        }
    
    
        public int getLength() {
            return deferred.length;
        }
        public void setLength(int length) {
            deferred.length = length;
        }
        public void advance(int n) {
            index += n;
            if ((index - start) > deferred.length) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  4. 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) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 29 18:16:45 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  5. 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;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

                }
    
                if (c == COMMA && !insideQuote) {
                    String value = sb.toString();
                    value = unQuoteUnEscape(value);
                    result.add(value);
                    sb.setLength(0);
                    continue;
                }
    
                sb.append(c);
            }
    
            result.add(sb.toString());
    
            // Validate
            if (quoteCount % 2 != 0) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. 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();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jan 08 10:37:09 GMT 2024
    - 7K bytes
    - Viewed (0)
  8. 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;
        final Charset localCharset = charset;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  9. 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;
        final Charset localCharset = charset;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

        public void readOctetArray ( byte[] b, int i, int l ) {
            System.arraycopy(this.buf, this.index, b, i, l);
            advance(l);
        }
    
    
        public int getLength () {
            return this.deferred.length;
        }
    
    
        public void setLength ( int length ) {
            this.deferred.length = length;
        }
    
    
        public void advance ( int n ) {
            this.index += n;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.6K bytes
    - Viewed (0)
Back to top