Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 363 for fetches (0.21 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    		ui.PrintErr(fmt.Sprintf("Fetched %d base profiles out of %d", got, want))
    	}
    
    	return psrc, pbase, msrc, mbase, save, nil
    }
    
    // chunkedGrab fetches the profiles described in source and merges them into
    // a single profile. It fetches a chunk of profiles concurrently, with a maximum
    // chunk size to limit its memory usage.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/sync/example_test.go

    	for _, url := range urls {
    		// Increment the WaitGroup counter.
    		wg.Add(1)
    		// Launch a goroutine to fetch the URL.
    		go func(url string) {
    			// Decrement the counter when the goroutine completes.
    			defer wg.Done()
    			// Fetch the URL.
    			http.Get(url)
    		}(url)
    	}
    	// Wait for all HTTP fetches to complete.
    	wg.Wait()
    }
    
    func ExampleOnce() {
    	var once sync.Once
    	onceBody := func() {
    		fmt.Println("Only once")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 17:45:47 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. pkg/volume/plugins.go

    	}
    	if len(matchedPluginNames) > 1 {
    		return nil, fmt.Errorf("multiple volume plugins matched: %s", strings.Join(matchedPluginNames, ","))
    	}
    
    	return match, nil
    }
    
    // FindPluginByName fetches a plugin by name. If no plugin is found, returns error.
    func (pm *VolumePluginMgr) FindPluginByName(name string) (VolumePlugin, error) {
    	pm.mutex.RLock()
    	defer pm.mutex.RUnlock()
    
    	var match VolumePlugin
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_save_function_ops_to_main.cc

    // Appends `value` to the arguments of the `FetchOp` of `graph_op`.
    void AppendValueToFetch(GraphOp graph_op, Value value) {
      FetchOp old_main_fetch = graph_op.GetFetch();
      auto fetches = llvm::to_vector(old_main_fetch.getFetches());
      fetches.emplace_back(value);
    
      auto builder = OpBuilder::atBlockTerminator(&graph_op.GetBody());
      builder.create<FetchOp>(old_main_fetch.getLoc(), std::move(fetches));
      old_main_fetch.erase();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc

      return wrapper_island_op;
    }
    
    // Adds a new fetch operand for the main function's GraphOp.
    void AddFetchOperandToMain(GraphOp main_graph_op, const Value fetch_operand) {
      FetchOp old_fetch = main_graph_op.GetFetch();
      const absl::Cleanup erase_old_fetch = [old_fetch]() mutable {
        old_fetch.erase();
      };
    
      auto fetches = llvm::to_vector(old_fetch.getFetches());
      fetches.emplace_back(fetch_operand);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:54:52 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/internal/configstore/download.go

    	configFileName = "config.json"
    )
    
    // needNoConsole is used on windows to set the windows.CREATE_NO_WINDOW
    // creation flag.
    var needNoConsole = func(cmd *exec.Cmd) {}
    
    // Download fetches the requested telemetry UploadConfig using "go mod
    // download". If envOverlay is provided, it is appended to the environment used
    // for invoking the go command.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. security/pkg/nodeagent/caclient/credentials.go

    // this is safe themselves.
    func (t *DefaultTokenProvider) RequireTransportSecurity() bool {
    	return false
    }
    
    // GetToken fetches a token to attach to a request. Returning "", nil will cause no header to be
    // added; while a non-nil error will block the request If the token selected is not found, no error
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. security/pkg/credentialfetcher/plugin/gce.go

    		exp.String(), gracePeriod.String(), rotate)
    	return rotate
    }
    
    // GetPlatformCredential fetches the GCE VM identity jwt token from its metadata server,
    // and write it to jwtPath. The local copy of the token in jwtPath is used by both
    // Envoy STS client and istio agent to fetch certificate and access token.
    // Note: this function only works in a GCE VM environment.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/apiclient/wait.go

    	WaitForPodsWithLabel(kvLabel string) error
    	// WaitForPodToDisappear waits for the given Pod in the kube-system namespace to be deleted
    	WaitForPodToDisappear(staticPodName string) error
    	// WaitForStaticPodSingleHash fetches sha256 hash for the control plane static pod
    	WaitForStaticPodSingleHash(nodeName string, component string) (string, error)
    	// WaitForStaticPodHashChange waits for the given static pod component's static pod hash to get updated.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/endpointslice.go

    					hostname)
    			}
    		}
    
    		esc.c.opts.XDSUpdater.EDSUpdate(shard, string(hostname), namespace, endpoints)
    	}
    }
    
    // getPod fetches a pod by name or IP address.
    // A pod may be missing (nil) for two reasons:
    //   - It is an endpoint without an associated Pod. In this case, expectPod will be false.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top