Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,605 for var2 (0.04 sec)

  1. src/bytes/example_test.go

    	// 10
    }
    
    func ExampleBuffer_Grow() {
    	var b bytes.Buffer
    	b.Grow(64)
    	bb := b.Bytes()
    	b.Write([]byte("64 bytes or fewer"))
    	fmt.Printf("%q", bb[:b.Len()])
    	// Output: "64 bytes or fewer"
    }
    
    func ExampleBuffer_Len() {
    	var b bytes.Buffer
    	b.Grow(64)
    	b.Write([]byte("abcde"))
    	fmt.Printf("%d", b.Len())
    	// Output: 5
    }
    
    func ExampleBuffer_Next() {
    	var b bytes.Buffer
    	b.Grow(64)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

           */
          private var smallestHeaderTableSizeSetting = Integer.MAX_VALUE
          private var emitDynamicTableSizeUpdate: Boolean = false
    
          @JvmField var maxDynamicTableByteCount: Int = headerTableSizeSetting
    
          // Visible for testing.
          @JvmField var dynamicTable = arrayOfNulls<Header>(8)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  3. src/bytes/compare_test.go

    	{nil, []byte(""), 0},
    	{[]byte("a"), nil, 1},
    	{nil, []byte("a"), -1},
    }
    
    func TestCompare(t *testing.T) {
    	for _, tt := range compareTests {
    		numShifts := 16
    		buffer := make([]byte, len(tt.b)+numShifts)
    		// vary the input alignment of tt.b
    		for offset := 0; offset <= numShifts; offset++ {
    			shiftedB := buffer[offset : len(tt.b)+offset]
    			copy(shiftedB, tt.b)
    			cmp := Compare(tt.a, shiftedB)
    			if cmp != tt.i {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 13 23:11:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. cmd/object_api_suite_test.go

    	readerNoEOF := newTestReaderNoEOF(content)
    	err := obj.MakeBucket(context.Background(), "bucket", MakeBucketOptions{})
    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    
    	var bytesBuffer1 bytes.Buffer
    	var opts ObjectOptions
    	_, err = obj.PutObject(context.Background(), "bucket", "object", mustGetPutObjReader(t, readerEOF, length, "", ""), opts)
    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  5. cmd/common-main.go

    func loadRootCredentials() {
    	// At this point, either both environment variables
    	// are defined or both are not defined.
    	// Check both cases and authenticate them if correctly defined
    	var user, password string
    	var hasCredentials bool
    	var legacyCredentials bool
    	//nolint:gocritic
    	if env.IsSet(config.EnvRootUser) && env.IsSet(config.EnvRootPassword) {
    		user = env.Get(config.EnvRootUser, "")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_distributed_test.cc

             "      input_arg {"
             "        name: 'var0'"
             "        type: DT_RESOURCE"
             "      }"
             "      output_arg {"
             "        name: 'var0_value'"
             "        type: DT_FLOAT"
             "      }"
             "    }"
             "    node_def {"
             "      name: 'read0'"
             "      op: 'ReadVariableOp'"
             "      input: 'var0'"
             "      attr {"
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. cmd/server-main.go

    	return err
    }
    
    func serverHandleCmdArgs(ctxt serverCtxt) {
    	handleCommonArgs(ctxt)
    
    	logger.FatalIf(CheckLocalServerAddr(globalMinioAddr), "Unable to validate passed arguments")
    
    	var err error
    	var setupType SetupType
    
    	// Check and load TLS certificates.
    	globalPublicCerts, globalTLSCerts, globalIsTLS, err = getTLSConfig()
    	logger.FatalIf(err, "Unable to load the TLS configuration")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  8. .teamcity/mvnw

    # ----------------------------------------------------------------------------
    # Maven Start Up Batch script
    #
    # Required ENV vars:
    # ------------------
    #   JAVA_HOME - location of a JDK home dir
    #
    # Optional ENV vars
    # -----------------
    #   M2_HOME - location of maven2's installed home dir
    #   MAVEN_OPTS - parameters passed to the Java VM when running Maven
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  9. src/archive/tar/reader_test.go

    			}
    			defer f.Close()
    
    			var fr io.Reader = f
    			if strings.HasSuffix(v.file, ".bz2") {
    				fr = bzip2.NewReader(fr)
    			}
    
    			// Capture all headers and checksums.
    			var (
    				tr      = NewReader(fr)
    				hdrs    []*Header
    				chksums []string
    				rdbuf   = make([]byte, 8)
    			)
    			for {
    				var hdr *Header
    				hdr, err = tr.Next()
    				if err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        source: BufferedSource,
        sink: BufferedSink,
        sequenceNumber: Int,
      ): RecordedRequest {
        var request = ""
        val headers = Headers.Builder()
        var contentLength = -1L
        var chunked = false
        val requestBody = TruncatingBuffer(bodyLimit)
        val chunkSizes = mutableListOf<Int>()
        var failure: IOException? = null
    
        try {
          request = source.readUtf8LineStrict()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top