Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 174 for CTX (0.4 sec)

  1. cmd/iam-etcd-store.go

    	return deleteKeyEtcd(ctx, ies.client, path)
    }
    
    func (ies *IAMEtcdStore) loadPolicyDocWithRetry(ctx context.Context, policy string, m map[string]PolicyDoc, _ int) error {
    	return ies.loadPolicyDoc(ctx, policy, m)
    }
    
    func (ies *IAMEtcdStore) loadPolicyDoc(ctx context.Context, policy string, m map[string]PolicyDoc) error {
    	data, err := ies.loadIAMConfigBytes(ctx, getPolicyDocPath(policy))
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. cmd/peer-rest-client.go

    func (client *peerRESTClient) GetCPUs(ctx context.Context) (info madmin.CPUs, err error) {
    	resp, err := getCPUsHandler.Call(ctx, client.gridConn(), grid.NewMSS())
    	return resp.ValueOrZero(), err
    }
    
    // GetNetInfo - fetch network information for a remote node.
    func (client *peerRESTClient) GetNetInfo(ctx context.Context) (info madmin.NetInfo, err error) {
    	resp, err := getNetInfoRPC.Call(ctx, client.gridConn(), grid.NewMSS())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/SessionTest.java

            ctx.getTransportPool().logon(ctx, ctx.getNameServiceClient().getByName(getTestServer()));
        }
    
    
        // #68
        @Test ( expected = SmbException.class )
        public void testPoolLogonFail () throws CIFSException, UnknownHostException {
            CIFSContext ctx = withTestNTLMCredentials(getContext());
            ctx.getTransportPool().logon(ctx, ctx.getNameServiceClient().getByName("0.0.0.0"), 12345);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  4. internal/grid/connection.go

    		c.handleDisconnectClientMux(m)
    	case OpPing:
    		c.handlePing(ctx, m)
    	case OpPong:
    		c.handlePong(ctx, m)
    	case OpRequest:
    		c.handleRequest(ctx, m, subID)
    	case OpAckMux:
    		c.handleAckMux(ctx, m)
    	case OpConnectMux:
    		c.handleConnectMux(ctx, m, subID)
    	case OpMuxConnectError:
    		c.handleConnectMuxError(ctx, m)
    	default:
    		gridLogIf(ctx, fmt.Errorf("unknown message type: %v", m.Op))
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental_test.cc

      TF_ExecutionContext* ctx = TF_NewEagerExecutionContext(opts, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      TFE_DeleteContextOptions(opts);
    
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
      // Build an abstract input tensor.
      TFE_Context* eager_ctx = TF_ExecutionContextGetTFEContext(ctx, status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_experimental_test.cc

      TFE_Executor* old_executor = TFE_ContextGetExecutorForThread(ctx);
      TFE_Executor* executor = TFE_NewExecutor(
          /*is_async=*/async, /*enable_streaming_enqueue=*/true,
          /*in_flight_nodes_limit=*/0);
      TFE_ContextSetExecutorForThread(ctx, executor);
    
      TFE_TensorHandle* m = TestMatrixTensorHandle(ctx);
      TFE_Op* matmul = MatMulOp(ctx, m, m);
      TFE_TensorHandle* retvals[2] = {nullptr, nullptr};
      int num_retvals = 2;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  7. cmd/admin-handlers-site-replication.go

    		return
    	}
    
    	var state madmin.SRStateEditReq
    	if err := parseJSONBody(ctx, r.Body, &state, ""); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	if err := globalSiteReplicationSys.PeerStateEditReq(ctx, state); err != nil {
    		adminLogIf(ctx, err)
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  8. cmd/batch-rotate.go

    	ri.Failed = ri.ObjectsFailed > 0
    	globalBatchJobsMetrics.save(job.ID, ri)
    	// persist in-memory state to disk.
    	batchLogIf(ctx, ri.updateAfter(ctx, api, 0, job))
    
    	if err := r.Notify(ctx, ri); err != nil {
    		batchLogIf(ctx, fmt.Errorf("unable to notify %v", err))
    	}
    
    	cancel()
    	return nil
    }
    
    //msgp:ignore batchKeyRotationJobError
    type batchKeyRotationJobError struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  9. internal/event/target/elasticsearch.go

    		key,
    		c.Exists.WithContext(ctx),
    	)
    	if err != nil {
    		return false, err
    	}
    	xhttp.DrainBody(res.Body)
    	return !res.IsError(), nil
    }
    
    func (c *esClientV7) removeEntry(ctx context.Context, index string, key string) error {
    	exists, err := c.entryExists(ctx, index, key)
    	if err == nil && exists {
    		res, err := c.Delete(
    			index,
    			key,
    			c.Delete.WithContext(ctx),
    		)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 15K bytes
    - Viewed (0)
  10. cmd/admin-handlers-idp-ldap.go

    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    	if listType == "" || listType == "svcacc-only" {
    		serviceAccounts, err = globalIAMSys.ListServiceAccounts(ctx, targetAccount)
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    
    	var serviceAccountList []madmin.ServiceAccountInfo
    	var stsKeyList []madmin.ServiceAccountInfo
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top