Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for 8192 (0.1 sec)

  1. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/GradleBuildDocumentationConfigurationCacheSmokeTest.groovy

            given:
            def tasks = [
                ':docs:docs',
                ':docs:docsTest',
                "-D${StartParameterBuildOptions.ConfigurationCacheMaxProblemsOption.PROPERTY_NAME}=8192".toString(), // TODO:configuration-cache remove
            ]
    
            when:
            configurationCacheRun(tasks, 0)
    
            then:
            result.assertConfigurationCacheStateStored()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/encoding/base32/base32_test.go

    func BenchmarkDecode(b *testing.B) {
    	data := make([]byte, StdEncoding.EncodedLen(8192))
    	StdEncoding.Encode(data, make([]byte, 8192))
    	buf := make([]byte, 8192)
    	b.SetBytes(int64(len(data)))
    	for i := 0; i < b.N; i++ {
    		StdEncoding.Decode(buf, data)
    	}
    }
    func BenchmarkDecodeString(b *testing.B) {
    	data := StdEncoding.EncodeToString(make([]byte, 8192))
    	b.SetBytes(int64(len(data)))
    	for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 16:25:54 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

    /**
     * Transformed artifact is derived with some transformation from source artifact.
     *
     * @since TBD
     */
    class TransformedArtifact extends DefaultArtifact {
    
        private static final int SHA1_BUFFER_SIZE = 8192;
        private final DefaultConsumerPomArtifactTransformer defaultConsumerPomArtifactTransformer;
        private final MavenProject project;
        private final Supplier<Path> sourcePathProvider;
        private final Path target;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/io/src/main/java/org/gradle/internal/io/LineBufferingOutputStream.java

        private final byte lastLineSeparatorByte;
        private final int lineMaxLength;
        private int counter;
    
        public LineBufferingOutputStream(TextStream handler, String lineSeparator) {
            this(handler, lineSeparator, 8192);
        }
    
        public LineBufferingOutputStream(TextStream handler, String lineSeparator, int bufferLength) {
            this(handler, lineSeparator, bufferLength, LINE_MAX_LENGTH);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/os/dir_unix.go

    	nbuf int     // length of buf; return value from Getdirentries
    	bufp int     // location of next record in buf.
    }
    
    const (
    	// More than 5760 to work around https://golang.org/issue/24015.
    	blockSize = 8192
    )
    
    var dirBufPool = sync.Pool{
    	New: func() any {
    		// The buffer must be at least a block long.
    		buf := make([]byte, blockSize)
    		return &buf
    	},
    }
    
    func (d *dirInfo) close() {
    	if d.buf != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:11:45 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/classpath/InPlaceClasspathBuilder.java

    import java.util.HashSet;
    import java.util.Objects;
    import java.util.Set;
    
    @NonNullApi
    public class InPlaceClasspathBuilder implements ClasspathBuilder {
        private static final int BUFFER_SIZE = 8192;
    
        @Override
        public void jar(File jarFile, Action action) {
            try {
                buildJar(jarFile, action);
            } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:05:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

          0x3F, 0xE1, 0xF,
          0x40, 3, 'f'.code, 'o'.code, 'o'.code, 3, 'b'.code, 'a'.code, 'r'.code,
        )
        hpackWriter!!.resizeHeaderTable(8192)
        hpackWriter!!.writeHeaders(listOf(Header("bar", "foo")))
        assertBytes(
          // Dynamic table size update (size = 8192).
          0x3F, 0xE1, 0x3F,
          0x40, 3, 'b'.code, 'a'.code, 'r'.code, 3, 'f'.code, 'o'.code, 'o'.code,
        )
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/MultipartReader.kt

          } else {
            // This is a subsequent part or a preamble. Skip until "\r\n--" followed by the boundary.
            while (true) {
              val toSkip = currentPartBytesRemaining(maxResult = 8192)
              if (toSkip == 0L) break
              source.skip(toSkip)
            }
            source.skip(crlfDashDashBoundary.size.toLong())
          }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDirectorySensitivityIntegrationSpec.groovy

                            }
                        }
                    }
    
                    static void copy(InputStream source, OutputStream target) throws IOException {
                        byte[] buf = new byte[8192]
                        int length
                        while ((length = source.read(buf)) > 0) {
                            target.write(buf, 0, length)
                        }
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

        } else {
          Long.MAX_VALUE
        }
      timeout().deadlineNanoTime(nowNs + minOf(originalDurationNs, timeUnit.toNanos(duration.toLong())))
      return try {
        val skipBuffer = Buffer()
        while (read(skipBuffer, 8192) != -1L) {
          skipBuffer.clear()
        }
        true // Success! The source has been exhausted.
      } catch (_: InterruptedIOException) {
        false // We ran out of time before exhausting the source.
      } finally {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top