Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for isidentical (0.23 sec)

  1. src/cmd/cgo/internal/test/issue23555.go

    // Copyright 2018 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.
    
    //go:build cgo
    
    // Test that we can have two identical cgo packages in a single binary.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    import (
    	_ "cmd/cgo/internal/test/issue23555a"
    	_ "cmd/cgo/internal/test/issue23555b"
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 403 bytes
    - Viewed (0)
  2. internal/config/certsinfo.go

    		buf.WriteString("\n")
    	}
    	return values
    }
    
    // CertificateText returns a human-readable string representation
    // of the certificate cert. The format is similar to the OpenSSL
    // way of printing certificates (not identical).
    func CertificateText(cert *x509.Certificate) string {
    	var buf strings.Builder
    
    	buf.WriteString(color.Blue("\nCertificate:\n"))
    	if cert.SignatureAlgorithm != x509.UnknownSignatureAlgorithm {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  3. src/bytes/compare_test.go

    			if cmp != -1 {
    				t.Errorf(`CompareBbigger(%d,%d) = %d`, len, k, cmp)
    			}
    			b[k] = a[k]
    		}
    	}
    }
    
    func TestEndianBaseCompare(t *testing.T) {
    	// This test compares byte slices that are almost identical, except one
    	// difference that for some j, a[j]>b[j] and a[j+1]<b[j+1]. If the implementation
    	// compares large chunks with wrong endianness, it gets wrong result.
    	// no vector register is larger than 512 bytes for now
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 13 23:11:42 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  4. istioctl/pkg/proxyconfig/proxyconfig.go

    			if rootCA1 == rootCA2 {
    				report := fmt.Sprintf("Both [%s.%s] and [%s.%s] have the identical ROOTCA, theoretically the connectivity between them is available",
    					podName1, podNamespace1, podName2, podNamespace2)
    				c.Println(report)
    				returnErr = nil
    			} else {
    				report := fmt.Sprintf("Both [%s.%s] and [%s.%s] have the non identical ROOTCA, theoretically the connectivity between them is unavailable",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  5. internal/bucket/replication/replication_test.go

    			destBucket:            "destinationbucket",
    			sameTarget:            false,
    			expectedParsingErr:    nil,
    			expectedValidationErr: errDestinationArnMissing,
    		},
    		// 5 replication destination in different rules not identical
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  6. src/archive/zip/writer.go

    		// Nearly every major ZIP implementation uses a different format,
    		// but at least most seem to be able to understand the other formats.
    		//
    		// This format happens to be identical for both local and central header
    		// if modification time is the only timestamp being encoded.
    		var mbuf [9]byte // 2*SizeOf(uint16) + SizeOf(uint8) + SizeOf(uint32)
    		mt := uint32(fh.Modified.Unix())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  7. src/archive/tar/reader.go

    	if p.err != nil {
    		return nil, p.err
    	}
    	s := blk.toGNU().sparse()
    	spd := make(sparseDatas, 0, s.maxEntries())
    	for {
    		for i := 0; i < s.maxEntries(); i++ {
    			// This termination condition is identical to GNU and BSD tar.
    			if s.entry(i).offset()[0] == 0x00 {
    				break // Don't return, need to process extended headers (even if empty)
    			}
    			offset := p.parseNumeric(s.entry(i).offset())
    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)
  8. src/cmd/api/main_test.go

    // loadImports populates w with information about the packages in the standard
    // library and the packages they themselves import in w's build context.
    //
    // The source import path and expanded import path are identical except for vendored packages.
    // For example, on return:
    //
    //	w.importMap["math"] = "math"
    //	w.importDir["math"] = "<goroot>/src/math"
    //
    //	w.importMap["golang.org/x/net/route"] = "vendor/golang.org/x/net/route"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  9. internal/config/dns/types.go

    	// DNS name.
    	TargetStrip int `json:"targetstrip,omitempty"`
    
    	// Group is used to group (or *not* to group) different services
    	// together. Services with an identical Group are returned in
    	// the same answer.
    	Group string `json:"group,omitempty"`
    
    	// Key carries the original key used during Put().
    	Key string `json:"-"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2K bytes
    - Viewed (0)
  10. operator/cmd/mesh/profile-diff.go

    	if err != nil {
    		return false, fmt.Errorf("could not read %q: %v", profileB, err)
    	}
    
    	diff := util.YAMLDiff(a, b)
    	if diff == "" {
    		fmt.Fprintln(writer, "Profiles are identical")
    	} else {
    		fmt.Fprintf(writer, "The difference between profiles:\n%s", diff)
    		return true, nil
    	}
    
    	return false, nil
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.1K bytes
    - Viewed (0)
Back to top