Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for rpc (0.13 sec)

  1. cmd/generic-handlers_test.go

    		Method: http.MethodPost,
    		URL:    u,
    	}
    	if !guessIsRPCReq(r) {
    		t.Fatal("Test shouldn't fail for a possible net/rpc request.")
    	}
    	r = &http.Request{
    		Proto:  "HTTP/1.1",
    		Method: http.MethodGet,
    	}
    	if guessIsRPCReq(r) {
    		t.Fatal("Test shouldn't report as net/rpc for a non net/rpc request.")
    	}
    	r = &http.Request{
    		Proto:  "HTTP/1.1",
    		Method: http.MethodGet,
    		URL:    &url.URL{Path: grid.RoutePath},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. cmd/metacache-set.go

    		i++
    	}
    }
    
    // updateMetacacheListing will update the metacache listing.
    func (o *listPathOptions) updateMetacacheListing(m metacache, rpc *peerRESTClient) (metacache, error) {
    	if rpc == nil {
    		return localMetacacheMgr.updateCacheEntry(m)
    	}
    	return rpc.UpdateMetacacheListing(context.Background(), m)
    }
    
    func getMetacacheBlockInfo(fi FileInfo, block int) (*metacacheBlock, error) {
    	var tmp metacacheBlock
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/BUILD

            "//tensorflow/core/distributed_runtime/rpc:grpc_channel",
            "//tensorflow/core/distributed_runtime/rpc:grpc_server_lib",
            "//tensorflow/core/distributed_runtime/rpc:grpc_worker_cache",
            "//tensorflow/core/distributed_runtime/rpc:grpc_worker_service",
            "//tensorflow/core/distributed_runtime/rpc:rpc_rendezvous_mgr",
            "//tensorflow/core/distributed_runtime/rpc/eager:grpc_eager_client",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  4. cmd/metacache-server-pool.go

    		}
    		entries.truncate(0)
    		go func() {
    			rpc := globalNotificationSys.restClientFromHash(pathJoin(o.Bucket, o.Prefix))
    			if rpc != nil {
    				ctx, cancel := context.WithTimeout(GlobalContext, 5*time.Second)
    				defer cancel()
    				c, err := rpc.GetMetacacheListing(ctx, *o)
    				if err == nil {
    					c.error = "no longer used"
    					c.status = scanStateError
    					rpc.UpdateMetacacheListing(ctx, *c)
    				}
    			}
    		}()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  5. cmd/notification.go

    }
    
    // NotificationPeerErr returns error associated for a remote peer.
    type NotificationPeerErr struct {
    	Host xnet.Host // Remote host on which the rpc call was initiated
    	Err  error     // Error returned by the remote peer for an rpc call
    }
    
    // A NotificationGroup is a collection of goroutines working on subtasks that are part of
    // the same overall task.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  6. cmd/typed-errors.go

    // errServerNotInitialized - server not initialized.
    var errServerNotInitialized = errors.New("Server not initialized, please try again")
    
    // errRPCAPIVersionUnsupported - unsupported rpc API version.
    var errRPCAPIVersionUnsupported = errors.New("Unsupported rpc API version")
    
    // errServerTimeMismatch - server times are too far apart.
    var errServerTimeMismatch = errors.New("Server times are too far apart")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  7. cmd/peer-rest-common.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    const (
    	peerRESTVersion       = "v38" // Convert RPC calls
    	peerRESTVersionPrefix = SlashSeparator + peerRESTVersion
    	peerRESTPrefix        = minioReservedBucketPath + "/peer"
    	peerRESTPath          = peerRESTPrefix + peerRESTVersionPrefix
    )
    
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  8. cmd/admin-handlers_test.go

    	if err != nil {
    		t.Fatal("Failed to initialize a single node Erasure backend for admin handler tests.", err)
    	}
    	defer adminTestBed.TearDown()
    
    	// Initialize admin peers to make admin RPC calls. Note: In a
    	// single node setup, this degenerates to a simple function
    	// call under the hood.
    	globalMinioAddr = "127.0.0.1:9000"
    
    	var wg sync.WaitGroup
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  9. cmd/lock-rest-client.go

    }
    
    // Refresh calls Refresh REST API.
    func (c *lockRESTClient) Refresh(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	return c.call(ctx, lockRPCRefresh, &args)
    }
    
    // Unlock calls write unlock RPC.
    func (c *lockRESTClient) Unlock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	return c.call(ctx, lockRPCUnlock, &args)
    }
    
    // ForceUnlock calls force unlock handler to forcibly unlock an active lock.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 24 17:07:14 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  10. istioctl/pkg/xds/client.go

    		}
    		aud = []string{mem.WorkloadIdentityPool}
    	}
    	k8sCreds, err := kubeClient.CreatePerRPCCredentials(ctx, ns, serviceAccount, aud, defaultExpirationSeconds)
    	if err != nil {
    		return nil, fmt.Errorf("failed to create RPC credentials for \"%s.%s\": %w", serviceAccount, ns, err)
    	}
    	if isMCP {
    		return mcpDialOptions(ctx, opts.GCPProject, k8sCreds)
    	}
    	return []grpc.DialOption{
    		// nolint: gosec
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
Back to top