Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for Equals (0.24 sec)

  1. src/builtin/builtin.go

    // argument, not a pointer to it. The specification of the result depends on
    // the type:
    //
    //	Slice: The size specifies the length. The capacity of the slice is
    //	equal to its length. A second integer argument may be provided to
    //	specify a different capacity; it must be no smaller than the
    //	length. For example, make([]int, 0, 10) allocates an underlying array
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. api/go1.1.txt

    pkg crypto/des, const BlockSize = 8
    pkg crypto/dsa, const L1024N160 = 0
    pkg crypto/dsa, const L2048N224 = 1
    pkg crypto/dsa, const L2048N256 = 2
    pkg crypto/dsa, const L3072N256 = 3
    pkg crypto/hmac, func Equal([]uint8, []uint8) bool
    pkg crypto/md5, const BlockSize = 64
    pkg crypto/md5, const Size = 16
    pkg crypto/sha1, const BlockSize = 64
    pkg crypto/sha1, const Size = 20
    pkg crypto/sha256, const BlockSize = 64
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  3. api/go1.15.txt

    pkg crypto/ecdsa, func VerifyASN1(*PublicKey, []uint8, []uint8) bool
    pkg crypto/ecdsa, method (*PrivateKey) Equal(crypto.PrivateKey) bool
    pkg crypto/ecdsa, method (*PublicKey) Equal(crypto.PublicKey) bool
    pkg crypto/ed25519, method (PrivateKey) Equal(crypto.PrivateKey) bool
    pkg crypto/ed25519, method (PublicKey) Equal(crypto.PublicKey) bool
    pkg crypto/elliptic, func MarshalCompressed(Curve, *big.Int, *big.Int) []uint8
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Jul 17 02:15:01 GMT 2020
    - 7.6K bytes
    - Viewed (0)
  4. src/archive/tar/tar_test.go

    		t.Errorf("Mode = %#o; want %#o", g, e)
    	}
    	if g, e := h.Size, int64(5); g != e {
    		t.Errorf("Size = %v; want %v", g, e)
    	}
    	if g, e := h.ModTime, fi.ModTime(); !g.Equal(e) {
    		t.Errorf("ModTime = %v; want %v", g, e)
    	}
    	// FileInfoHeader should error when passing nil FileInfo
    	if _, err := FileInfoHeader(nil, ""); err == nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  5. api/go1.22.txt

    pkg crypto/x509, func OIDFromInts([]uint64) (OID, error) #60665
    pkg crypto/x509, method (*CertPool) AddCertWithConstraint(*Certificate, func([]*Certificate) error) #57178
    pkg crypto/x509, method (OID) Equal(OID) bool #60665
    pkg crypto/x509, method (OID) EqualASN1OID(asn1.ObjectIdentifier) bool #60665
    pkg crypto/x509, method (OID) String() string #60665
    pkg crypto/x509, type Certificate struct, Policies []OID #60665
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 24 20:54:27 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    		return nil, nil, err // EOF is okay here; exactly 0 bytes read
    	}
    	if bytes.Equal(tr.blk[:], zeroBlock[:]) {
    		if _, err := io.ReadFull(tr.r, tr.blk[:]); err != nil {
    			return nil, nil, err // EOF is okay here; exactly 1 block of zeros read
    		}
    		if bytes.Equal(tr.blk[:], zeroBlock[:]) {
    			return nil, nil, io.EOF // normal EOF; exactly 2 block of zeros read
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  7. src/bufio/scan_test.go

    	j = 0
    	for lineNum := 0; s.Scan(); lineNum++ {
    		genLine(tmp, lineNum, j, false)
    		if j < smallMaxTokenSize {
    			j++
    		} else {
    			j--
    		}
    		line := tmp.Bytes()
    		if !bytes.Equal(s.Bytes(), line) {
    			t.Errorf("%d: bad line: %d %d\n%.100q\n%.100q\n", lineNum, len(s.Bytes()), len(line), s.Bytes(), line)
    		}
    	}
    	err := s.Err()
    	if err != ErrTooLong {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  8. src/bufio/bufio.go

    // returns (slice of full buffers, remaining bytes before delim, total number
    // of bytes in the combined first two elements, error).
    // The complete result is equal to
    // `bytes.Join(append(fullBuffers, finalFragment), nil)`, which has a
    // length of `totalLen`. The result is structured in this way to allow callers
    // to minimize allocations and copies.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  9. doc/go_mem.html

    <pre>
    *p = i + *p/2
    </pre>
    
    <p>
    That is, it must not rewrite the program into this one:
    </p>
    
    <pre>
    *p /= 2
    *p += i
    </pre>
    
    <p>
    If <code>i</code> and <code>*p</code> start equal to 2,
    the original code does <code>*p = 3</code>,
    so a racing thread can read only 2 or 3 from <code>*p</code>.
    The rewritten code does <code>*p = 1</code> and then <code>*p = 3</code>,
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  10. src/archive/tar/writer_test.go

    				}
    			}
    
    			if v.file != "" {
    				want, err := os.ReadFile(v.file)
    				if err != nil {
    					t.Fatalf("ReadFile() = %v, want nil", err)
    				}
    				got := buf.Bytes()
    				if !bytes.Equal(want, got) {
    					t.Fatalf("incorrect result: (-got +want)\n%v", bytediff(got, want))
    				}
    			}
    		})
    	}
    }
    
    func TestPax(t *testing.T) {
    	// Create an archive with a large name
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
Back to top