Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for Sprint (0.34 sec)

  1. internal/s3select/select_test.go

    			},
    		},
    	}
    
    	csvData := []byte(`one,two,three
    -1,foo,true
    ,bar,false
    2.5,baz,true
    `)
    
    	for i, testCase := range testTable {
    		t.Run(fmt.Sprint(i), func(t *testing.T) {
    			s3Select, err := NewS3Select(bytes.NewReader(testCase.requestXML))
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			if err = s3Select.Open(newBytesRSC(csvData)); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    				b[i+j] = byte(0)
    			}
    		}
    	}
    }
    
    var bmbuf []byte
    
    func valName(x int) string {
    	if s := x >> 20; s<<20 == x {
    		return fmt.Sprintf("%dM", s)
    	}
    	if s := x >> 10; s<<10 == x {
    		return fmt.Sprintf("%dK", s)
    	}
    	return fmt.Sprint(x)
    }
    
    func benchBytes(b *testing.B, sizes []int, f func(b *testing.B, n int)) {
    	for _, n := range sizes {
    		if isRaceBuilder && n > 4<<10 {
    			continue
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    				t.Errorf("%s: len(Peek(%d)) = %v; want %v", tt.name, tt.peekSize, len(peekBuf), tt.peekSize)
    				continue
    			}
    		}
    		discarded, err := br.Discard(tt.n)
    		if ge, we := fmt.Sprint(err), fmt.Sprint(tt.wantErr); discarded != tt.want || ge != we {
    			t.Errorf("%s: Discard(%d) = (%v, %v); want (%v, %v)", tt.name, tt.n, discarded, ge, tt.want, we)
    			continue
    		}
    		if bn := br.Buffered(); bn != tt.wantBuffered {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe.go

    					fmt.Fprintf(writer, "WARNING: User ID (UID) 1337 is reserved for the sidecar proxy.\n")
    				}
    			}
    		}
    	}
    
    	fmt.Fprintf(writer, "Pod: %s\n", kname(pod.ObjectMeta))
    	fmt.Fprintf(writer, "   Pod Revision: %s\n", revision)
    	if len(ports) > 0 {
    		fmt.Fprintf(writer, "   Pod Ports: %s\n", strings.Join(ports, ", "))
    	} else {
    		fmt.Fprintf(writer, "   Pod does not expose ports\n")
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    	for _, n := range names {
    		if n.Kind == "fconst" {
    			fmt.Fprintf(&b, "\t%s,\n", n.C)
    		} else {
    			fmt.Fprintf(&b, "\t0,\n")
    		}
    	}
    	fmt.Fprintf(&b, "\t1\n")
    	fmt.Fprintf(&b, "};\n")
    
    	// do the same work for strings.
    	for i, n := range names {
    		if n.Kind == "sconst" {
    			fmt.Fprintf(&b, "const char __cgodebug_str__%d[] = %s;\n", i, n.C)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  6. docs/bucket/notifications/README.md

    The python program below waits on mqtt topic `/minio` and prints event notifications on the console. We use [paho-mqtt](https://pypi.python.org/pypi/paho-mqtt/) library to do this.
    
    ```py
    #!/usr/bin/env python3
    from __future__ import print_function
    import paho.mqtt.client as mqtt
    
    # This is the Subscriber
    
    def on_connect(client, userdata, flags, rc):
      print("Connected with result code "+str(rc))
      # qos level is set to 1
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  7. cmd/sts-handlers_test.go

    	for i, testApp := range testApps {
    		configCmds := []string{
    			fmt.Sprintf("identity_openid:%d", i),
    			fmt.Sprintf("config_url=%s/.well-known/openid-configuration", testApp.ProviderURL),
    			fmt.Sprintf("client_id=%s", testApp.ClientID),
    			fmt.Sprintf("client_secret=%s", testApp.ClientSecret),
    			"scopes=openid,groups",
    			fmt.Sprintf("redirect_uri=%s", testApp.RedirectURL),
    		}
    		if rolePolicies[i] != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  8. configure.py

      print('    %s' % config['cudnn_include_dir'])
    
      if 'tensorrt_version' in config:
        print('Found TensorRT %s in:' % config['tensorrt_version'])
        print('    %s' % config['tensorrt_library_dir'])
        print('    %s' % config['tensorrt_include_dir'])
    
      if config.get('nccl_version', None):
        print('Found NCCL %s in:' % config['nccl_version'])
        print('    %s' % config['nccl_library_dir'])
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  9. cmd/xl-storage.go

    				res["tier-versions-"+name] = strconv.Itoa(tier.NumVersions)
    			}
    			if sizeS.failedCount > 0 {
    				res["repl-failed"] = fmt.Sprintf("%d versions, %d bytes", sizeS.failedCount, sizeS.failedSize)
    			}
    			if sizeS.pendingCount > 0 {
    				res["repl-pending"] = fmt.Sprintf("%d versions, %d bytes", sizeS.pendingCount, sizeS.pendingSize)
    			}
    			for tgt, st := range sizeS.replTargetStats {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    	bufReader := bufio.NewReader(req.Body)
    	_, chunkSignature, err := readChunkLine(bufReader)
    	if err != nil {
    		return nil, err
    	}
    
    	n := badSize
    	newHexChunkSize := []byte(fmt.Sprintf("%x", n))
    	newChunkHdr := []byte(fmt.Sprintf("%s"+s3ChunkSignatureStr+"%s\r\n",
    		newHexChunkSize, chunkSignature))
    	newChunk, err := io.ReadAll(bufReader)
    	if err != nil {
    		return nil, err
    	}
    
    	newReq := req
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
Back to top