Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 72 for newBuf (0.14 sec)

  1. pilot/pkg/xds/auth.go

    		id, err := checkConnectionIdentity(con.proxy, identities)
    		if err != nil {
    			log.Warnf("Unauthorized XDS: %v with identity %v: %v", con.Peer(), identities, err)
    			return status.Newf(codes.PermissionDenied, "authorization failed: %v", err).Err()
    		}
    		con.proxy.VerifiedIdentity = id
    	}
    	return nil
    }
    
    func checkConnectionIdentity(proxy *model.Proxy, identities []string) (*spiffe.Identity, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

      for (auto operand : if_op.getOperands()) {
        auto it = data_var_to_size_var.find(operand);
        if (it == data_var_to_size_var.end()) continue;
        new_if_operands.push_back(it->getSecond());
      }
      auto new_if = OpBuilder(if_op).create<TF::IfOp>(
          if_op.getLoc(), then_func.getFunctionType().getResults(), new_if_operands,
          if_op->getAttrs());
      for (auto result : if_op.getResults()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. pilot/pkg/model/jwks_resolver.go

    )
    
    var (
    	// Close channel
    	closeChan = make(chan bool)
    
    	networkFetchSuccessCounter = monitoring.NewSum(
    		"pilot_jwks_resolver_network_fetch_success_total",
    		"Total number of successfully network fetch by pilot jwks resolver",
    	)
    	networkFetchFailCounter = monitoring.NewSum(
    		"pilot_jwks_resolver_network_fetch_fail_total",
    		"Total number of failed network fetch by pilot jwks resolver",
    	)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. src/go/doc/example.go

    	for _, d := range file.Decls {
    		if f, ok := d.(*ast.FuncDecl); ok && isTest(f.Name.Name, "Example") {
    			// Copy the FuncDecl, as it may be used elsewhere.
    			newF := *f
    			newF.Name = ast.NewIdent("main")
    			newF.Body, comments = stripOutputComment(f.Body, comments)
    			d = &newF
    		}
    		decls = append(decls, d)
    	}
    
    	// Copy the File, as it may be used elsewhere.
    	f := *file
    	f.Name = ast.NewIdent("main")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  5. src/go/doc/reader.go

    	newFuncDecl := *f.Decl
    	newFuncDecl.Recv = &newFieldList
    
    	// copy existing function documentation and set new declaration
    	newF := *f
    	newF.Decl = &newFuncDecl
    	newF.Recv = recvString(typ)
    	// the Orig field never changes
    	newF.Level = level
    
    	return &newF
    }
    
    // collectEmbeddedMethods collects the embedded methods of typ in mset.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Striped.java

          if (existing != null) {
            return existing;
          }
          L created = supplier.get();
          ArrayReference<L> newRef = new ArrayReference<>(created, index, queue);
          while (!locks.compareAndSet(index, existingRef, newRef)) {
            // we raced, we need to re-read and try again
            existingRef = locks.get(index);
            existing = existingRef == null ? null : existingRef.get();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 20:55:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Striped.java

          if (existing != null) {
            return existing;
          }
          L created = supplier.get();
          ArrayReference<L> newRef = new ArrayReference<>(created, index, queue);
          while (!locks.compareAndSet(index, existingRef, newRef)) {
            // we raced, we need to re-read and try again
            existingRef = locks.get(index);
            existing = existingRef == null ? null : existingRef.get();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 20:55:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  8. src/text/template/parse/node.go

    type IfNode struct {
    	BranchNode
    }
    
    func (t *Tree) newIf(pos Pos, line int, pipe *PipeNode, list, elseList *ListNode) *IfNode {
    	return &IfNode{BranchNode{tr: t, NodeType: NodeIf, Pos: pos, Line: line, Pipe: pipe, List: list, ElseList: elseList}}
    }
    
    func (i *IfNode) Copy() Node {
    	return i.tr.newIf(i.Pos, i.Line, i.Pipe.CopyPipe(), i.List.CopyList(), i.ElseList.CopyList())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    	w.Stop()
    
    	// Compact previous versions
    	if compaction == nil {
    		t.Skip("compaction callback not provided")
    	}
    
    	// Update again
    	newOut := &example.Pod{}
    	err = store.GuaranteedUpdate(ctx, key, newOut, true, nil, storage.SimpleUpdate(
    		func(runtime.Object) (runtime.Object, error) {
    			return &example.Pod{ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "test-ns"}}, nil
    		}), nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/informers.go

    	"istio.io/istio/pkg/kube/controllers"
    	"istio.io/istio/pkg/kube/kclient"
    	"istio.io/istio/pkg/monitoring"
    )
    
    var (
    	eventTypeTag = monitoring.CreateLabel("type")
    	EventTotals  = monitoring.NewSum(
    		"nodeagent_reconcile_events_total",
    		"The total number of node agent reconcile events.",
    	)
    )
    
    type K8sHandlers interface {
    	GetPodIfAmbient(podName, podNamespace string) (*corev1.Pod, error)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top