Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for generator (0.19 sec)

  1. src/cmd/cgo/doc.go

    	-exportheader file
    		If there are any exported functions, write the
    		generated export declarations to file.
    		C code can #include this to see the declarations.
    	-importpath string
    		The import path for the Go package. Optional; used for
    		nicer comments in the generated files.
    	-import_runtime_cgo
    		If set (which it is by default) import runtime/cgo in
    		generated output.
    	-import_syscall
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    			dst <- i  // Send 'i' to channel 'dst'.
    		}
    	}
    }
    
    // The prime sieve: Daisy-chain filter processes together.
    func sieve() {
    	ch := make(chan int)  // Create a new channel.
    	go generate(ch)       // Start generate() as a subprocess.
    	for {
    		prime := <-ch
    		fmt.Print(prime, "\n")
    		ch1 := make(chan int)
    		go filter(ch, ch1, prime)
    		ch = ch1
    	}
    }
    
    func main() {
    	sieve()
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/ast.go

    					}
    					f.Preamble += fmt.Sprintf("#line %d %q\n", sourceLine(cg), abspath)
    					f.Preamble += commentText(cg) + "\n"
    					f.Preamble += "#line 1 \"cgo-generated-wrapper\"\n"
    				}
    			}
    
    		case *ast.FuncDecl:
    			// Also, reject attempts to declare methods on C.T or *C.T.
    			// (The generated code would otherwise accept this
    			// invalid input; see issue #57926.)
    			if decl.Recv != nil && len(decl.Recv.List) > 0 {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  4. src/bootstrap.bash

    #
    # Only changes that have been committed to Git (at least locally,
    # not necessary reviewed and submitted to master) are included in the tree.
    #
    # See also golang.org/x/build/cmd/genbootstrap, which is used
    # to generate bootstrap tgz files for builders.
    
    set -e
    
    if [ "$GOOS" = "" -o "$GOARCH" = "" ]; then
    	echo "usage: GOOS=os GOARCH=arch ./bootstrap.bash [-force]" >&2
    	exit 2
    fi
    
    forceflag=""
    Shell Script
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jan 20 17:52:26 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/avx512enc/aes_avx512f.s

    // Code generated by avx512test. DO NOT EDIT.
    
    #include "../../../../../../runtime/textflag.h"
    
    TEXT asmtest_aes_avx512f(SB), NOSPLIT, $0
    	VAESDEC X24, X7, X11                               // 62124508ded8 or 6212c508ded8
    	VAESDEC X20, X7, X11                               // 62324508dedc or 6232c508dedc
    	VAESDEC X24, X0, X11                               // 62127d08ded8 or 6212fd08ded8
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue May 22 14:57:15 GMT 2018
    - 29K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/amd64enc_extra.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.
    
    // This input extends auto-generated amd64enc.s test suite
    // with manually added tests.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT asmtest(SB),DUPOK|NOSPLIT,$0
    	// AVX2GATHER: basic combinations.
    	VPGATHERDQ Y2, (BP)(X7*2), Y1           // c4e2ed904c7d00
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 11 18:32:50 GMT 2023
    - 57.6K bytes
    - Viewed (0)
  7. src/archive/zip/reader_test.go

    // big.zip that contains big.file, which contains 2³²-1 zeros.
    // The big.zip file is interesting because it has no zip64 header,
    // much like the innermost zip files in the well-known 42.zip.
    //
    // biggest.zip was generated by changing isZip64 to use > uint32max
    // instead of >= uint32max and then running this program:
    //
    //	package main
    //
    //	import (
    //		"archive/zip"
    //		"bytes"
    //		"io"
    //		"log"
    //		"os"
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  8. lib/time/mkzip.go

    //
    // Usage:
    //
    //	go run ../../mkzip.go ../../zoneinfo.zip
    //
    // We use this program instead of 'zip -0 -r ../../zoneinfo.zip *' to get
    // a reproducible generator that does not depend on which version of the
    // external zip tool is used or the ordering of file names in a directory
    // or the current time.
    package main
    
    import (
    	"archive/zip"
    	"bytes"
    	"flag"
    	"fmt"
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/callback.go

    		if f == nil {
    			t.Fatalf("expected non-nil Func for pc %d", pc[i])
    		}
    		fname := f.Name()
    		// Remove the prepended pathname from automatically
    		// generated cgo function names.
    		if strings.HasPrefix(fname, "_") {
    			fname = path.Base(f.Name()[1:])
    		}
    		// In module mode, this package has a fully-qualified import path.
    		// Remove it if present.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/amd64enc.s

    // generated by x86test -amd64
    // DO NOT EDIT
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT asmtest(SB),DUPOK|NOSPLIT,$0
    	ADCB $7, AL                             // 1407
    	ADCW $61731, AX                         // 661523f1
    	ADCL $4045620583, AX                    // 15674523f1
    	ADCQ $-249346713, AX                    // 4815674523f1
    	ADCW $61731, (BX)                       // 66811323f1
    	ADCW $61731, (R11)                      // 6641811323f1
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 08 21:38:44 GMT 2021
    - 581.9K bytes
    - Viewed (0)
Back to top