Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 138 for testflag (0.29 sec)

  1. src/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64le.s

    // Copyright 2019 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 gc && !purego
    
    #include "textflag.h"
    
    // This was ported from the amd64 implementation.
    
    #define POLY1305_ADD(msg, h0, h1, h2, t0, t1, t2) \
    	MOVD (msg), t0;  \
    	MOVD 8(msg), t1; \
    	MOVD $1, t2;     \
    	ADDC t0, h0, h0; \
    	ADDE t1, h1, h1; \
    	ADDE t2, h2;     \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/go/version/version_test.go

    	{"go1.19rc1", "go1.19.0", -1},
    	{"go1.19alpha3", "go1.19beta2", -1},
    	{"go1.19beta2", "go1.19rc1", -1},
    	{"go1.1", "go1.99999999999999998", -1},
    	{"go1.99999999999999998", "go1.99999999999999999", -1},
    }
    
    func TestLang(t *testing.T) { test1(t, langTests, "Lang", Lang) }
    
    var langTests = []testCase1[string, string]{
    	{"bad", ""},
    	{"go1.2rc3", "go1.2"},
    	{"go1.2.3", "go1.2"},
    	{"go1.2", "go1.2"},
    	{"go1", "go1"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 19:56:48 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. tests/binary/binaries_test.go

    	})
    }
    
    var (
    	nonGoBinaries      = sets.New("ztunnel", "envoy")
    	nonVersionBinaries = sets.New("client", "server")
    )
    
    // Test that flags do not get polluted with unexpected flags
    func TestFlags(t *testing.T) {
    	runBinariesTest(t, func(t *testing.T, name string) {
    		if nonGoBinaries.Contains(name) {
    			return
    		}
    		cmd := path.Join(*releasedir, name)
    		out, err := exec.Command(cmd, "--help").Output()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/hash/crc32/gen_const_ppc64le.go

    func main() {
    	w := new(bytes.Buffer)
    
    	// Standard: https://go.dev/s/generatedcode
    	fmt.Fprintln(w, `// Code generated by "go run gen_const_ppc64le.go"; DO NOT EDIT.`)
    	fmt.Fprintln(w)
    	fmt.Fprintln(w, `#include "textflag.h"`)
    
    	// These are the polynomials supported in vector now.
    	// If adding others, include the polynomial and a name
    	// to identify it.
    
    	genCrc32ConstTable(w, 0xedb88320, "IEEE")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 20:44:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. src/crypto/sha1/sha1block_arm64.s

    // Copyright 2017 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 !purego
    
    #include "textflag.h"
    
    #define HASHUPDATECHOOSE \
    	SHA1C	V16.S4, V1, V2 \
    	SHA1H	V3, V1 \
    	VMOV	V2.B16, V3.B16
    
    #define HASHUPDATEPARITY \
    	SHA1P	V16.S4, V1, V2 \
    	SHA1H	V3, V1 \
    	VMOV	V2.B16, V3.B16
    
    #define HASHUPDATEMAJ \
    	SHA1M	V16.S4, V1, V2 \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/crypto/md5/md5block_arm64.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    //
    // ARM64 version of md5block.go
    // derived from crypto/md5/md5block_amd64.s
    
    //go:build !purego
    
    #include "textflag.h"
    
    TEXT	·block(SB),NOSPLIT,$0-32
    	MOVD	dig+0(FP), R0
    	MOVD	p+8(FP), R1
    	MOVD	p_len+16(FP), R2
    	AND	$~63, R2
    	CBZ	R2, zero
    
    	ADD	R1, R2, R21
    	LDPW	(0*8)(R0), (R4, R5)
    	LDPW	(1*8)(R0), (R6, R7)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/crypto/sha256/sha256block_arm64.s

    // Copyright 2017 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 !purego
    
    #include "textflag.h"
    
    #define HASHUPDATE \
    	SHA256H	V9.S4, V3, V2 \
    	SHA256H2	V9.S4, V8, V3 \
    	VMOV	V2.B16, V8.B16
    
    // func sha256block(h []uint32, p []byte, k []uint32)
    TEXT ·sha256block(SB),NOSPLIT,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. src/crypto/md5/md5block_386.s

    //	http://www.zorinaq.com/papers/md5-amd64.tar.bz2
    //
    // Translated from Perl generating GNU assembly into
    // #defines generating 8a assembly, and adjusted for 386,
    // by the Go Authors.
    
    //go:build !purego
    
    #include "textflag.h"
    
    // MD5 optimized for AMD64.
    //
    // Author: Marc Bevand <bevand_m (at) epita.fr>
    // Licence: I hereby disclaim the copyright on this code and place it
    // in the public domain.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/internal/runtime/atomic/atomic_mipsx.s

    // Copyright 2016 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 mips || mipsle
    
    #include "textflag.h"
    
    // bool Cas(int32 *val, int32 old, int32 new)
    // Atomically:
    //	if(*val == old){
    //		*val = new;
    //		return 1;
    //	} else
    //		return 0;
    TEXT ·Cas(SB),NOSPLIT,$0-13
    	MOVW	ptr+0(FP), R1
    	MOVW	old+4(FP), R2
    	MOVW	new+8(FP), R5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 21:29:34 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/cover_coverpkg_partial.txt

    -- d/d.go --
    package d
    
    const FortyTwo = 42
    
    func DFunc() int {
      return FortyTwo
    }
    
    -- e/e_test.go --
    package e
    
    import (
    	"M/a"
    	"M/b"
    	"testing"
    )
    
    func TestBlah(t *testing.T) {
    	if b.BFunc() == 1010101 {
    		t.Fatalf("bad")
    	}
    	a.AFunc()
    }
    -- f/f.go --
    package f
    
    var F int
    
    func Id() int {
    	F += 9
    	F *= 2
    	return 42
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:12:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top