Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,125 for selain (0.16 sec)

  1. src/cmd/gofmt/testdata/typeswitch.input

    */
    package p
    
    func f() {
    	var x interface{}
    	switch x.(type) { // should remain the same
    	}
    	switch (x.(type)) { // should become: switch x.(type) {
    	}
    
    	switch x.(type) { // should remain the same
    	case int:
    	}
    	switch (x.(type)) { // should become: switch x.(type) {
    	case int:
    	}
    
    	switch x.(type) { // should remain the same
    	case []int:
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 15 17:17:30 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. src/internal/poll/copy_file_range_linux.go

    const maxCopyFileRangeRound = 1 << 30
    
    // CopyFileRange copies at most remain bytes of data from src to dst, using
    // the copy_file_range system call. dst and src must refer to regular files.
    func CopyFileRange(dst, src *FD, remain int64) (written int64, handled bool, err error) {
    	if !isKernelVersionGE53() {
    		return 0, false, nil
    	}
    
    	for remain > 0 {
    		max := remain
    		if max > maxCopyFileRangeRound {
    			max = maxCopyFileRangeRound
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 17:40:10 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/crypto/cipher/ctr.go

    		ctr:     bytes.Clone(iv),
    		out:     make([]byte, 0, bufSize),
    		outUsed: 0,
    	}
    }
    
    func (x *ctr) refill() {
    	remain := len(x.out) - x.outUsed
    	copy(x.out, x.out[x.outUsed:])
    	x.out = x.out[:cap(x.out)]
    	bs := x.b.BlockSize()
    	for remain <= len(x.out)-bs {
    		x.b.Encrypt(x.out[remain:], x.ctr)
    		remain += bs
    
    		// Increment counter
    		for i := len(x.ctr) - 1; i >= 0; i-- {
    			x.ctr[i]++
    			if x.ctr[i] != 0 {
    				break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. cluster/addons/volumesnapshots/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml

                  enum:
                    - Delete
                    - Retain
                  type: string
                driver:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 26 07:24:12 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  5. src/net/splice_linux.go

    //
    // If spliceFrom returns handled == false, it has performed no work.
    func spliceFrom(c *netFD, r io.Reader) (written int64, err error, handled bool) {
    	var remain int64 = 1<<63 - 1 // by default, copy until EOF
    	lr, ok := r.(*io.LimitedReader)
    	if ok {
    		remain, r = lr.N, lr.R
    		if remain <= 0 {
    			return 0, nil, true
    		}
    	}
    
    	var s *netFD
    	switch v := r.(type) {
    	case *TCPConn:
    		s = v.fd
    	case tcpConnWithoutWriteTo:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. internal/crypto/key_test.go

    			}
    		}()
    	}
    }
    
    var sealUnsealKeyTests = []struct {
    	SealExtKey, SealIV                 [32]byte
    	SealDomain, SealBucket, SealObject string
    
    	UnsealExtKey                             [32]byte
    	UnsealDomain, UnsealBucket, UnsealObject string
    
    	ShouldPass bool
    }{
    	{
    		SealExtKey: [32]byte{}, SealIV: [32]byte{}, SealDomain: "SSE-C", SealBucket: "bucket", SealObject: "object",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 02 00:13:57 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. src/net/http/internal/ascii/print_test.go

    			a:    "CHUNKED",
    			b:    "chunked",
    			want: true,
    		},
    		{
    			name: "same string",
    			a:    "chunked",
    			b:    "chunked",
    			want: true,
    		},
    		{
    			name: "Unicode Kelvin symbol",
    			a:    "chunKed", // This "K" is 'KELVIN SIGN' (\u212A)
    			b:    "chunked",
    			want: false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := EqualFold(tt.a, tt.b); got != tt.want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 10 23:42:56 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/transport/Message.java

    package jcifs.util.transport;
    
    
    /**
     * @author mbechler
     *
     */
    public interface Message {
    
        /**
         * Indicate that this message should retain it's raw payload
         */
        void retainPayload ();
    
    
        /**
         * 
         * @return whether to retain the message payload
         */
        boolean isRetainPayload ();
    
    
        /**
         * 
         * @return the raw response message
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  9. test/fixedbugs/issue45045.go

    		if s := <-c; s != "first" {
    			panic("map[string], second key did not retain.")
    		}
    		runtime.KeepAlive(m)
    	}
    
    	{
    		c := make(chan string, 2)
    		m := make(map[[2]string]int)
    		m[[2]string{k(c, "first")}] = 0
    		m[[2]string{k(c, "second")}] = 0
    		runtime.GC()
    		if s := <-c; s != "first" {
    			panic("map[[2]string], second key did not retain.")
    		}
    		runtime.KeepAlive(m)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Mar 28 03:27:04 UTC 2021
    - 997 bytes
    - Viewed (0)
  10. src/go/printer/testdata/expressions.input

    	f(2, args[0])
    
    	// make sure syntactically legal code remains syntactically legal
    	f(3, 42 ...) // a blank must remain between 42 and ...
    	f(4, 42. ...)
    	f(5, 42....)
    	f(6, 42.0 ...)
    	f(7, 42.0...)
    	f(8, .42 ...)
    	f(9, .42...)
    	f(10, 42e0 ...)
    	f(11, 42e0...)
    
    	_ = 42 .x // a blank must remain between 42 and .x
    	_ = 42. .x
    	_ = 42..x
    	_ = 42.0 .x
    	_ = 42.0.x
    	_ = .42 .x
    	_ = .42.x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 16:41:54 UTC 2017
    - 12.1K bytes
    - Viewed (0)
Back to top