Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of about 10,000 for dither (0.16 sec)

  1. src/slices/iter.go

    // license that can be found in the LICENSE file.
    
    package slices
    
    import (
    	"cmp"
    	"iter"
    )
    
    // All returns an iterator over index-value pairs in the slice.
    // The indexes range in the usual order, from 0 through len(s)-1.
    func All[Slice ~[]E, E any](s Slice) iter.Seq2[int, E] {
    	return func(yield func(int, E) bool) {
    		for i, v := range s {
    			if !yield(i, v) {
    				return
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:40:32 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/reflect/iter.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package reflect
    
    import "iter"
    
    func rangeNum[T int8 | int16 | int32 | int64 | int |
    	uint8 | uint16 | uint32 | uint64 | uint |
    	uintptr, N int64 | uint64](v N) iter.Seq[Value] {
    	return func(yield func(v Value) bool) {
    		// cannot use range T(v) because no core type.
    		for i := T(0); i < T(v); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:11 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/maps/iter.go

    // license that can be found in the LICENSE file.
    
    package maps
    
    import "iter"
    
    // All returns an iterator over key-value pairs from m.
    // The iteration order is not specified and is not guaranteed
    // to be the same from one call to the next.
    func All[Map ~map[K]V, K comparable, V any](m Map) iter.Seq2[K, V] {
    	return func(yield func(K, V) bool) {
    		for k, v := range m {
    			if !yield(k, v) {
    				return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:41:45 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/testprog/iter-pull.go

    	var wg sync.WaitGroup
    	var iterChans [2]chan intIter
    	wg.Add(2)
    	iterChans[0] = make(chan intIter)
    	iterChans[1] = make(chan intIter)
    	go func() {
    		defer wg.Done()
    
    		iter := pullRange(100)
    		iterChans[1] <- iter
    
    		for i := range iterChans[0] {
    			_, ok := i.next()
    			if !ok {
    				close(iterChans[1])
    				break
    			}
    			iterChans[1] <- i
    		}
    	}()
    	go func() {
    		defer wg.Done()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. doc/next/6-stdlib/3-iter.md

    ### Iterators
    
    The new [iter] package provides the basic definitions for working with
    user-defined iterators.
    
    The [slices] package adds several functions that work with iterators:
    - [All](/pkg/slices#All) returns an iterator over slice indexes and values.
    - [Values](/pkg/slices#Values) returns an iterator over slice elements.
    - [Backward](/pkg/slices#Backward) returns an iterator that loops over
      a slice backward.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:13 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/crypto/crypto.go

    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package crypto
    
    import (
    	"crypto/aes"
    	"crypto/cipher"
    	"crypto/rand"
    
    	"github.com/pkg/errors"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 04 08:41:27 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  7. pkg/probe/dialer_others.go

    // discarded and the connection to be aborted with an RST rather than for the pending data to be
    // transmitted and the connection closed cleanly with a FIN.
    // Ref: https://issues.k8s.io/89898
    func ProbeDialer() *net.Dialer {
    	dialer := &net.Dialer{
    		Control: func(network, address string, c syscall.RawConn) error {
    			return c.Control(func(fd uintptr) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 16:57:32 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. pilot/cmd/pilot-discovery/app/options.go

    	cipherKeys := sets.New[string]()
    	for _, cipher := range tls.InsecureCipherSuites() {
    		cipherKeys.Insert(cipher.Name)
    	}
    	return sets.SortedList(cipherKeys)
    }
    
    // secureTLSCipherNames returns a list of secure cipher suite names implemented by crypto/tls.
    func secureTLSCipherNames() []string {
    	cipherKeys := sets.New[string]()
    	for _, cipher := range tls.CipherSuites() {
    		cipherKeys.Insert(cipher.Name)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 23:42:29 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/aether/MavenDeployer.java

    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.deployment.DeployRequest;
    import org.eclipse.aether.deployment.DeployResult;
    import org.eclipse.aether.deployment.DeploymentException;
    import org.eclipse.aether.impl.Deployer;
    import org.eclipse.aether.internal.impl.DefaultDeployer;
    import org.eclipse.sisu.Priority;
    
    import static java.util.Objects.requireNonNull;
    
    /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 25 10:27:00 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. pkg/test/echo/server/endpoint/instance.go

    type Config struct {
    	IsServerReady IsServerReadyFunc
    	Version       string
    	Cluster       string
    	TLSCert       string
    	TLSKey        string
    	UDSServer     string
    	Dialer        common.Dialer
    	Port          *common.Port
    	ListenerIP    string
    	IstioVersion  string
    	Namespace     string
    	DisableALPN   bool
    }
    
    // Instance of an endpoint that serves the Echo application on a single port/protocol.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 16:20:31 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top