Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 236 for Pledge (0.12 sec)

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

    package unix
    
    import (
    	"errors"
    	"fmt"
    	"strconv"
    )
    
    // Pledge implements the pledge syscall.
    //
    // This changes both the promises and execpromises; use PledgePromises or
    // PledgeExecpromises to only change the promises or execpromises
    // respectively.
    //
    // For more information see pledge(2).
    func Pledge(promises, execpromises string) error {
    	if err := pledgeAvailable(); err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. code_of_conduct.md

    # Contributor Covenant Code of Conduct
    
    ## Our Pledge
    
    In the interest of fostering an open and welcoming environment, we as
    contributors and maintainers pledge to making participation in our project and
    our community a harassment-free experience for everyone, regardless of age, body
    size, disability, ethnicity, gender identity and expression, level of experience,
    nationality, personal appearance, race, religion, or sexual identity and
    orientation.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 20 18:38:58 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  3. CODE_OF_CONDUCT.md

    # TensorFlow Code of Conduct
    
    In the interest of fostering an open and welcoming environment, we as
    contributors and maintainers pledge to make participation in our project and our
    community a harassment-free experience for everyone, regardless of age, body
    size, disability, ethnicity, gender identity and expression, level of
    experience, nationality, personal appearance, race, religion, or sexual identity
    and orientation.
    
    ## Our Standards
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 05 18:43:16 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  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