Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 490 for Pledge (0.09 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go

    func pledge(promises *byte, execpromises *byte) (err error) {
    	_, _, e1 := syscall_syscall(libc_pledge_trampoline_addr, uintptr(unsafe.Pointer(promises)), uintptr(unsafe.Pointer(execpromises)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    var libc_pledge_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_pledge pledge "libc.so"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.7K bytes
    - Viewed (0)
  2. pilot/pkg/status/distribution/ledger.go

    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/ledger"
    )
    
    func tryLedgerPut(configLedger ledger.Ledger, obj config.Config) {
    	key := obj.Key()
    	if _, err := configLedger.Put(key, strconv.FormatInt(obj.Generation, 10)); err != nil {
    		scope.Errorf("Failed to update %s in ledger, status will be out of date.", key)
    	}
    }
    
    func tryLedgerDelete(configLedger ledger.Ledger, obj config.Config) {
    	key := obj.Key()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. pkg/ledger/ledger.go

    )
    
    // Ledger exposes a modified map with three unique characteristics:
    // 1. every unique state of the map is given a unique hash
    // 2. prior states of the map are retained for a fixed period of time
    // 2. given a previous hash, we can retrieve a previous state from the map, if it is still retained.
    type Ledger interface {
    	// Put adds or overwrites a key in the Ledger
    	Put(key, value string) (string, error)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. pkg/ledger/ledger_test.go

    		})
    	}
    	if err := eg.Wait(); err != nil {
    		b.Fatalf("An error occurred putting new data on the ledger: %v", err)
    	}
    	b.StopTimer()
    }
    
    // nolint: gosec
    // test only code
    func addConfig(ledger Ledger, b *testing.B) string {
    	objectID := strings.Replace(uuid.New().String(), "-", "", -1)
    	_, err := ledger.Put(objectID, fmt.Sprintf("%d", rand.Int()))
    	assert.NoError(b, err)
    	return objectID
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 12 16:12:59 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. test/typeparam/graph.go

    func _New[_Node _NodeC[_Edge], _Edge _EdgeC[_Node]](nodes []_Node) *_Graph[_Node, _Edge] {
    	return &_Graph[_Node, _Edge]{nodes: nodes}
    }
    
    // nodePath holds the path to a node during ShortestPath.
    // This should ideally be a type defined inside ShortestPath,
    // but the translator tool doesn't support that.
    type nodePath[_Node _NodeC[_Edge], _Edge _EdgeC[_Node]] struct {
    	node _Node
    	path []_Edge
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/critical.go

    				// Don't increment i in this case because we moved
    				// an unprocessed predecessor down into slot i.
    			} else {
    				// splice it in
    				p.Succs[pi] = Edge{d, 0}
    				b.Preds[i] = Edge{d, 0}
    				d.Preds = append(d.Preds, Edge{p, pi})
    				d.Succs = append(d.Succs, Edge{b, i})
    				i++
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 21:40:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. pilot/pkg/model/context.go

    	return
    }
    
    func (e *Environment) ClusterLocal() ClusterLocalProvider {
    	return e.clusterLocalServices
    }
    
    func (e *Environment) GetLedger() ledger.Ledger {
    	return e.ledger
    }
    
    func (e *Environment) SetLedger(l ledger.Ledger) {
    	e.ledger = l
    }
    
    func (e *Environment) GetProxyConfigOrDefault(ns string, labels, annotations map[string]string, meshConfig *meshconfig.MeshConfig) *meshconfig.ProxyConfig {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (1)
  8. guava/src/com/google/common/graph/Network.java

      /**
       * Returns the nodes which are the endpoints of {@code edge} in this network.
       *
       * @throws IllegalArgumentException if {@code edge} is not an element of this network
       */
      EndpointPair<N> incidentNodes(E edge);
    
      /**
       * Returns a live view of the edges which have an {@link #incidentNodes(Object) incident node} in
       * common with {@code edge}. An edge is not considered adjacent to itself.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  9. test/typeparam/issue50690a.go

    		sum += args[i]
    	}
    	return sum
    }
    
    // Ledger is an identifiable, financial record.
    type Ledger[T ~string, K Numeric] struct {
    	// ID identifies the ledger.
    	ID_ T
    
    	// Amounts is a list of monies associated with this ledger.
    	Amounts_ []K
    
    	// SumFn is a function that can be used to sum the amounts
    	// in this ledger.
    	SumFn_ func(...K) K
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 09 21:26:42 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  10. pilot/pkg/bootstrap/util.go

    	"istio.io/istio/pkg/ledger"
    )
    
    func hasKubeRegistry(registries []string) bool {
    	for _, r := range registries {
    		if provider.ID(r) == provider.Kubernetes {
    			return true
    		}
    	}
    	return false
    }
    
    func buildLedger(ca RegistryOptions) ledger.Ledger {
    	var result ledger.Ledger
    	if ca.DistributionTrackingEnabled {
    		result = ledger.Make(ca.DistributionCacheRetention)
    	} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top