Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 727 for dprintf (0.08 sec)

  1. cmd/notification.go

    				return nil
    			}
    
    			for typ, data := range data {
    				// zip writer only handles one concurrent write
    				writeMu.Lock()
    				profilingDataFound = true
    				err := embedFileInZip(zipWriter, fmt.Sprintf("profile-%s-%s", client.host.String(), typ), data, 0o600)
    				writeMu.Unlock()
    				if err != nil {
    					reqInfo := (&logger.ReqInfo{}).AppendTags("peerAddress", client.host.String())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  2. README.md

    supports both synchronous blocking calls and async calls with callbacks.
    
    
    Get a URL
    ---------
    
    This program downloads a URL and prints its contents as a string. [Full source][get_example].
    
    ```java
    OkHttpClient client = new OkHttpClient();
    
    String run(String url) throws IOException {
      Request request = new Request.Builder()
          .url(url)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. tests/associations_many2many_test.go

    	if err != nil {
    		t.Fatalf("open test connection failed, err: %+v", err)
    	}
    
    	count := 3
    
    	var languages []Language
    	for i := 0; i < count; i++ {
    		language := Language{Code: fmt.Sprintf("consurrent %d", i)}
    		db.Create(&language)
    		languages = append(languages, language)
    	}
    
    	user := User{}
    	db.Create(&user)
    	db.Preload("Languages").FirstOrCreate(&user)
    
    	var wg sync.WaitGroup
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  4. cmd/erasure-metadata_test.go

    		// non-tiered object require read quorum of EcM
    		nonTieredTest(16, 4, 12),
    		// non-tiered object with fewer than EcM in consensus
    		nonTieredTest(16, 4, 11),
    	}
    	for i, test := range tests {
    		t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
    			if got := listObjectParities(test.metaArr, test.errs); !slices.Equal(got, test.parities) {
    				t.Fatalf("Expected parities %v but got %v", test.parities, got)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. internal/config/notify/legacy.go

    			Key:   target.MqttBroker,
    			Value: cfg.Broker.String(),
    		},
    		config.KV{
    			Key:   target.MqttTopic,
    			Value: cfg.Topic,
    		},
    		config.KV{
    			Key:   target.MqttQoS,
    			Value: fmt.Sprintf("%d", cfg.QoS),
    		},
    		config.KV{
    			Key:   target.MqttUsername,
    			Value: cfg.User,
    		},
    		config.KV{
    			Key:   target.MqttPassword,
    			Value: cfg.Password,
    		},
    		config.KV{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 04:37:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. cni/test/install_cni.go

    	t.Helper()
    	t.Logf("Pre-populating working dirs")
    	for i, f := range cniDirOrderedFiles {
    		destFilenm := fmt.Sprintf("0%d-%s", i, f)
    		t.Logf("Copying %v into temp config dir %v/%s", f, tempCNIConfDir, destFilenm)
    		cp(wd+cniConfSubDir+f, tempCNIConfDir+"/"+destFilenm, t)
    	}
    	for _, f := range ls(wd+k8sSvcAcctSubDir, t) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. istioctl/pkg/internaldebug/internal-debug.go

    		namespace, serviceAccount, kubeClient, multixds.DefaultOptions)
    	if respErr != nil {
    		return xdsResponses, respErr
    	}
    	_, _ = fmt.Fprint(writer, "error: according to below command list, please check all supported internal debug commands\n")
    	return xdsResponses, nil
    }
    
    func HandlerForDebugErrors(kubeClient kube.CLIClient,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 12 11:30:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. doc/go_spec.html

    iteration's variable at that moment.
    </p>
    
    <pre>
    var prints []func()
    for i := 0; i < 5; i++ {
    	prints = append(prints, func() { println(i) })
    	i++
    }
    for _, p := range prints {
    	p()
    }
    </pre>
    
    <p>
    prints
    </p>
    
    <pre>
    1
    3
    5
    </pre>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  9. bin/init.sh

    # If we are not using the default, assume its private and we need to authenticate
    if [[ "${ISTIO_ENVOY_BASE_URL}" != "https://storage.googleapis.com/istio-build/proxy" ]]; then
      AUTH_HEADER="Authorization: Bearer $(gcloud auth print-access-token)"
      export AUTH_HEADER
    fi
    
    SIDECAR="${SIDECAR:-envoy}"
    
    # OS-neutral vars. These currently only work for linux.
    ISTIO_ENVOY_VERSION="${ISTIO_ENVOY_VERSION:-${PROXY_REPO_SHA}}"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jan 25 19:11:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. cmd/object-api-listobjects_test.go

    		{testBuckets[0], "unique/", "", "", 1000, true, ListObjectsInfo{}, resultCasesV[1], nil, true},
    	}
    
    	for i, testCase := range testCases {
    		testCase := testCase
    		t.Run(fmt.Sprintf("%s-Test%d", instanceType, i+1), func(t *testing.T) {
    			var err error
    			var resultL ListObjectsInfo
    			var resultV ListObjectVersionsInfo
    			if testCase.versioned {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
Back to top