Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,200 for tpool_ (0.23 sec)

  1. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc

      int CurrentThreadId() const override { return tpool_.CurrentThreadId(); }
      void Cancel() override {}
    
     private:
      ThreadPool tpool_;
    };
    }  // namespace
    
    RuntimeFallbackExecutor::RuntimeFallbackExecutor(int64_t num_threads)
        : intra_op_(std::make_unique<IntraOpThreadPool>(num_threads)) {
      // Create a HostContext for running TFRT functions. Concurrent work queue acts
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. cmd/testdata/config/2.yaml

    console-address: ':9001'
    certs-dir: '/home/user/.minio/certs/'
    pools: # Specify the nodes and drives with pools
      -
            - 'https://server-example-pool1:9000/mnt/disk{1...4}/'
            - 'https://server1-pool1:9000/mnt/disk{1...4}/'
            - 'https://server3-pool1:9000/mnt/disk{1...4}/'
            - 'https://server4-pool1:9000/mnt/disk{1...4}/'
      -
            - 'https://server-example-pool2:9000/mnt/disk{1...4}/'
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Dec 07 09:33:56 UTC 2023
    - 869 bytes
    - Viewed (0)
  3. src/cmd/go/internal/tool/tool.go

    var CmdTool = &base.Command{
    	Run:       runTool,
    	UsageLine: "go tool [-n] command [args...]",
    	Short:     "run specified go tool",
    	Long: `
    Tool runs the go tool command identified by the arguments.
    With no arguments it prints the list of known tools.
    
    The -n flag causes tool to print the command that would be
    executed but not execute it.
    
    For more about each tool command, see 'go doc cmd/<command>'.
    `,
    }
    
    var toolN bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. internal/bpool/bpool.go

    	}
    	select {
    	case bp.c <- b:
    		// buffer went back into pool
    	default:
    		// buffer didn't go back into pool, just discard
    	}
    }
    
    // Width returns the width of the byte arrays in this pool.
    func (bp *BytePoolCap) Width() (n int) {
    	if bp == nil {
    		return 0
    	}
    	return bp.w
    }
    
    // WidthCap returns the cap width of the byte arrays in this pool.
    func (bp *BytePoolCap) WidthCap() (n int) {
    	if bp == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 16:44:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. docs/distributed/CONFIG.md

    `v1` format
    ```yaml
    pools: # Specify the nodes and drives with pools
      -
        - "https://server-example-pool1:9000/mnt/disk{1...4}/"
        - "https://server{1...2}-pool1:9000/mnt/disk{1...4}/"
        - "https://server3-pool1:9000/mnt/disk{1...4}/"
        - "https://server4-pool1:9000/mnt/disk{1...4}/"
    ```
    
    to `v2` format
    
    ```yaml
    pools:
      - args:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 03 15:54:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/sync/pool.go

    // Get selects an arbitrary item from the [Pool], removes it from the
    // Pool, and returns it to the caller.
    // Get may choose to ignore the pool and treat it as empty.
    // Callers should not assume any relation between values passed to [Pool.Put] and
    // the values returned by Get.
    //
    // If Get would otherwise return nil and p.New is non-nil, Get returns
    // the result of calling p.New.
    func (p *Pool) Get() any {
    	if race.Enabled {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. cmd/admin-handlers-pools.go

    		return
    	}
    
    	vars := mux.Vars(r)
    	v := vars["pool"]
    	byID := vars["by-id"] == "true"
    
    	pools := strings.Split(v, ",")
    	poolIndices := make([]int, 0, len(pools))
    
    	for _, pool := range pools {
    		var idx int
    		if byID {
    			var err error
    			idx, err = strconv.Atoi(pool)
    			if err != nil {
    				// We didn't find any matching pools, invalid input
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. schema/pool.go

    package schema
    
    import (
    	"reflect"
    	"sync"
    )
    
    // sync pools
    var (
    	normalPool      sync.Map
    	poolInitializer = func(reflectType reflect.Type) FieldNewValuePool {
    		v, _ := normalPool.LoadOrStore(reflectType, &sync.Pool{
    			New: func() interface{} {
    				return reflect.New(reflectType).Interface()
    			},
    		})
    		return v.(FieldNewValuePool)
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 11 13:37:44 UTC 2022
    - 345 bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/hack/tools.go

    //go:build tools
    // +build tools
    
    /*
    Copyright 2019 The Kubernetes Authors.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 757 bytes
    - Viewed (0)
  10. build/tools.go

    //go:build tools
    // +build tools
    
    /*
    Copyright 2019 The Kubernetes Authors.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:36 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top