Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for 8192 (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/core-runtime/io/src/test/groovy/org/gradle/internal/io/StreamByteBufferTest.groovy

            byteBuffer.readFrom(byteArrayInputStream, limit)
    
            then:
            byteBuffer.totalBytesUnread() == limit
            byteBuffer.readAsByteArray() == testBufferPart
    
            where:
            chunkSize = 8192
            limit << [1, 8191, 8192, 8193, 8194]
        }
    
        def "can create buffer from InputStream and limiting size"() {
            given:
            def byteArrayInputStream = new ByteArrayInputStream(testbuffer)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 13:06:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. doc/godebug.md

    Go 1.22 adds a configurable limit to control the maximum acceptable RSA key size
    that can be used in TLS handshakes, controlled by the [`tlsmaxrsasize` setting](/pkg/crypto/tls#Conn.Handshake).
    The default is tlsmaxrsasize=8192, limiting RSA to 8192-bit keys. To avoid
    denial of service attacks, this setting and default was backported to Go
    1.19.13, Go 1.20.8, and Go 1.21.1.
    
    Go 1.22 made it an error for a request or response read by a net/http
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  6. src/image/jpeg/reader_test.go

    	// in issue 10413. It is only 504 bytes, and shouldn't take long for Decode
    	// to return an error. The Start Of Frame marker gives the image dimensions
    	// as 8192 wide and 8192 high, so even if an unreadByteStuffedByte bug
    	// doesn't technically lead to an infinite loop, such a bug can still cause
    	// an unreasonably long loop for such a short input.
    	const input = "" +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 00:46:29 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  7. maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

     *
     * @author Jason van Zyl
     */
    public class PluginDescriptorBuilder {
    
        public static final String PLUGIN_2_0_0 = "http://maven.apache.org/PLUGIN/2.0.0";
        private static final int BUFFER_SIZE = 8192;
    
        public interface StreamSupplier {
            InputStream open() throws IOException;
        }
    
        public interface ReaderSupplier {
            Reader open() throws IOException;
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractLineEndingSensitivityIntegrationSpec.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
    - 21.2K bytes
    - Viewed (0)
  9. src/runtime/asm_arm64.s

    	DISPATCH(runtime·call256, 256)
    	DISPATCH(runtime·call512, 512)
    	DISPATCH(runtime·call1024, 1024)
    	DISPATCH(runtime·call2048, 2048)
    	DISPATCH(runtime·call4096, 4096)
    	DISPATCH(runtime·call8192, 8192)
    	DISPATCH(runtime·call16384, 16384)
    	DISPATCH(runtime·call32768, 32768)
    	DISPATCH(runtime·call65536, 65536)
    	DISPATCH(runtime·call131072, 131072)
    	DISPATCH(runtime·call262144, 262144)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  10. src/runtime/asm_ppc64x.s

    	DISPATCH(runtime·call256, 256)
    	DISPATCH(runtime·call512, 512)
    	DISPATCH(runtime·call1024, 1024)
    	DISPATCH(runtime·call2048, 2048)
    	DISPATCH(runtime·call4096, 4096)
    	DISPATCH(runtime·call8192, 8192)
    	DISPATCH(runtime·call16384, 16384)
    	DISPATCH(runtime·call32768, 32768)
    	DISPATCH(runtime·call65536, 65536)
    	DISPATCH(runtime·call131072, 131072)
    	DISPATCH(runtime·call262144, 262144)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 45.4K bytes
    - Viewed (0)
Back to top