Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1021 - 1030 of 1,622 for Length (0.1 sec)

  1. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

        final String localData = data;
        final TargetSupplier localTarget = target;
        final CopyStrategy localStrategy = strategy;
        for (int i = 0; i < reps; i++) {
          Appendable appendable = localTarget.get(localData.length());
          r += localStrategy.copy(new StringReader(localData), appendable);
        }
        return r;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

        final String localData = data;
        final TargetSupplier localTarget = target;
        final CopyStrategy localStrategy = strategy;
        for (int i = 0; i < reps; i++) {
          Appendable appendable = localTarget.get(localData.length());
          r += localStrategy.copy(new StringReader(localData), appendable);
        }
        return r;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java

                            }
                        }
                    }
                }
            } catch (final MaxLengthExceededException e) {
                throw e;
            } catch (final Exception e) {
                if (buf.length() == 0) {
                    throw new ExtractException("Could not extract a content.", e);
                }
            }
    
            return new ExtractData(buf.toString().trim());
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            String version = artifact.getVersion();
            String qualifier = formatDate(timestamp, true) + '-' + buildNumber;
            version = version.substring(0, version.length() - SNAPSHOT.length()) + qualifier;
            return addSnapshotVersion(versioning, artifact.getExtension(), timestamp, version, buildNumber);
        }
    
        private static SnapshotVersion addSnapshotVersion(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

      currentThread.name = name
      try {
        block()
      } finally {
        currentThread.name = oldName
      }
    }
    
    /** Returns the Content-Length as reported by the response headers. */
    internal fun Response.headersContentLength(): Long {
      return headers["Content-Length"]?.toLongOrDefault(-1L) ?: -1L
    }
    
    /** Returns an immutable copy of this. */
    internal fun <T> List<T>.toImmutableList(): List<T> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

                return -1;
            }
            return tmp[0] & 0xFF;
        }
    
    /**
     * Reads up to b.length bytes of data from this input stream into an array of bytes.
     *
     * @throws IOException if a network error occurs
     */
    
        public int read( byte[] b ) throws IOException {
            return read( b, 0, b.length );
        }
    
    /**
     * Reads up to len bytes of data from this input stream into an array of bytes.
     *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/math/PairedStats.java

       * versions.
       */
      public static PairedStats fromByteArray(byte[] byteArray) {
        checkNotNull(byteArray);
        checkArgument(
            byteArray.length == BYTES,
            "Expected PairedStats.BYTES = %s, got %s",
            BYTES,
            byteArray.length);
        ByteBuffer buffer = ByteBuffer.wrap(byteArray).order(ByteOrder.LITTLE_ENDIAN);
        Stats xStats = Stats.readFrom(buffer);
        Stats yStats = Stats.readFrom(buffer);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                    String qualifier = snapshot.getTimestamp() + '-' + snapshot.getBuildNumber();
                    version = version.substring(0, version.length() - SNAPSHOT.length()) + qualifier;
                }
                merge(SNAPSHOT, infos, versioning.getLastUpdated(), version, repository);
            }
        }
    
        private void merge(
                String key,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. helm/minio/README.md

    ```
    
    Description of the configuration parameters used above -
    
    - `buckets[].name` - name of the bucket to create, must be a string with length > 0
    - `buckets[].policy` - can be one of none|download|upload|public
    - `buckets[].purge` - purge if bucket exists already
    
    ### Create policies after install
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 24 07:27:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

        assertThat(requestC.tag(String::class)).isSameAs("c")
      }
    
      @Test
      fun requestToStringRedactsSensitiveHeaders() {
        val headers =
          Headers.Builder()
            .add("content-length", "99")
            .add("authorization", "peanutbutter")
            .add("proxy-authorization", "chocolate")
            .add("cookie", "drink=coffee")
            .add("set-cookie", "accessory=sugar")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top