Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for dither (0.27 sec)

  1. src/sort/sort_test.go

    	if testing.Short() {
    		sizes = []int{100, 127, 128, 129}
    	}
    	dists := []string{"sawtooth", "rand", "stagger", "plateau", "shuffle"}
    	modes := []string{"copy", "reverse", "reverse1", "reverse2", "sort", "dither"}
    	var tmp1, tmp2 [1025]int
    	for _, n := range sizes {
    		for m := 1; m < 2*n; m *= 2 {
    			for dist := 0; dist < _NDist; dist++ {
    				j := 0
    				k := 1
    				data := tmp1[0:n]
    				for i := 0; i < n; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:41:04 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/functional/src/main/java/org/gradle/internal/Either.java

    /**
     * Represents values with two possibilities.
     *
     * @param <L> the left type.
     * @param <R> the right type.
     */
    public abstract class Either<L, R> {
    
        public static <L, R> Either<L, R> left(L value) {
            return new Left<>(value);
        }
    
        public static <L, R> Either<L, R> right(R value) {
            return new Right<>(value);
        }
    
        /**
         * Take the value if this is a left.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. pkg/test/echo/common/dialer.go

    		return client.Do(req)
    	}
    	// DefaultTCPDialFunc just calls dialer.Dial, with no alterations to the arguments.
    	DefaultTCPDialFunc = func(dialer net.Dialer, ctx context.Context, address string) (net.Conn, error) {
    		return dialer.DialContext(ctx, "tcp", address)
    	}
    	// DefaultDialer is provides defaults for all dial functions.
    	DefaultDialer = Dialer{
    		GRPC:      DefaultGRPCDialFunc,
    		Websocket: DefaultWebsocketDialFunc,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 07 15:55:42 UTC 2020
    - 3K bytes
    - Viewed (0)
  4. src/crypto/aes/cipher.go

    func (k KeySizeError) Error() string {
    	return "crypto/aes: invalid key size " + strconv.Itoa(int(k))
    }
    
    // NewCipher creates and returns a new [cipher.Block].
    // The key argument should be the AES key,
    // either 16, 24, or 32 bytes to select
    // AES-128, AES-192, or AES-256.
    func NewCipher(key []byte) (cipher.Block, error) {
    	k := len(key)
    	switch k {
    	default:
    		return nil, KeySizeError(k)
    	case 16, 24, 32:
    		break
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 14:58:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. pkg/hbone/dialer.go

    	return nil
    }
    
    // TLSDialWithDialer is an implementation of tls.DialWithDialer that accepts a generic Dialer
    func TLSDialWithDialer(dialer Dialer, network, addr string, config *tls.Config) (*tls.Conn, error) {
    	return tlsDial(context.Background(), dialer, network, addr, config)
    }
    
    func tlsDial(ctx context.Context, netDialer Dialer, network, addr string, config *tls.Config) (*tls.Conn, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 15:56:41 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. istioctl/pkg/multixds/gather.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 multixds
    
    // multixds knows how to target either central Istiod or all the Istiod pods on a cluster.
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 08 08:38:19 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. src/crypto/cipher/cipher.go

    // license that can be found in the LICENSE file.
    
    // Package cipher implements standard block cipher modes that can be wrapped
    // around low-level block cipher implementations.
    // See https://csrc.nist.gov/groups/ST/toolkit/BCM/current_modes.html
    // and NIST Special Publication 800-38A.
    package cipher
    
    // A Block represents an implementation of block cipher
    // using a given key. It provides the capability to encrypt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 03:55:33 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  8. src/crypto/des/cipher.go

    }
    
    // desCipher is an instance of DES encryption.
    type desCipher struct {
    	subkeys [16]uint64
    }
    
    // NewCipher creates and returns a new [cipher.Block].
    func NewCipher(key []byte) (cipher.Block, error) {
    	if len(key) != 8 {
    		return nil, KeySizeError(len(key))
    	}
    
    	c := new(desCipher)
    	c.generateSubkeys(key)
    	return c, nil
    }
    
    func (c *desCipher) BlockSize() int { return BlockSize }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/customPlugins/customPlugin/groovy/other.gradle

    Laura Kassovic <******@****.***> 1712356553 -0700
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 22:35:53 UTC 2024
    - 287 bytes
    - Viewed (0)
  10. test/fixedbugs/issue10700.dir/other.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package other
    
    type Exported interface {
    	Do()
    	secret()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 07 16:21:57 UTC 2015
    - 219 bytes
    - Viewed (0)
Back to top