Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 78 for external (0.19 sec)

  1. src/cmd/asm/internal/asm/parse.go

    import (
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"strconv"
    	"strings"
    	"text/scanner"
    	"unicode/utf8"
    
    	"cmd/asm/internal/arch"
    	"cmd/asm/internal/flags"
    	"cmd/asm/internal/lex"
    	"cmd/internal/obj"
    	"cmd/internal/obj/arm64"
    	"cmd/internal/obj/x86"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    	"cmd/internal/sys"
    )
    
    type Parser struct {
    	lex           lex.TokenReader
    	lineNum       int   // Line number in source file.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/tokenizer.go

    // license that can be found in the LICENSE file.
    
    package lex
    
    import (
    	"go/build/constraint"
    	"io"
    	"os"
    	"strings"
    	"text/scanner"
    	"unicode"
    
    	"cmd/asm/internal/flags"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    // A Tokenizer is a simple wrapping of text/scanner.Scanner, configured
    // for our purposes and made a TokenReader. It forms the lowest level,
    // turning text from readers into tokens.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 04 20:35:21 GMT 2022
    - 3K bytes
    - Viewed (0)
  3. src/cmd/buildid/buildid.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"flag"
    	"fmt"
    	"log"
    	"os"
    	"strings"
    
    	"cmd/internal/buildid"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go tool buildid [-w] file\n")
    	flag.PrintDefaults()
    	os.Exit(2)
    }
    
    var wflag = flag.Bool("w", false, "write build ID")
    
    func main() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 06 14:30:53 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/arch/loong64.go

    // This file encapsulates some of the odd characteristics of the
    // Loong64 (LoongArch64) instruction set, to minimize its interaction
    // with the core of the assembler.
    
    package arch
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/obj/loong64"
    )
    
    func jumpLoong64(word string) bool {
    	switch word {
    	case "BEQ", "BFPF", "BFPT", "BLTZ", "BGEZ", "BLEZ", "BGTZ", "BLT", "BLTU", "JIRL", "BNE", "BGE", "BGEU", "JMP", "JAL", "CALL":
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 06 13:49:53 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/callback_c_gccgo.c

    //go:build gccgo
    
    #include "_cgo_export.h"
    #include <stdint.h>
    #include <stdio.h>
    #include <stdlib.h>
    
    /* Test calling panic from C.  This is what SWIG does.  */
    
    extern void _cgo_panic(const char *);
    extern void *_cgo_allocate(size_t);
    
    void
    callPanic(void)
    {
    	_cgo_panic("panic from C");
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 452 bytes
    - Viewed (0)
  6. src/cmd/asm/internal/arch/arm.go

    // This file encapsulates some of the odd characteristics of the ARM
    // instruction set, to minimize its interaction with the core of the
    // assembler.
    
    package arch
    
    import (
    	"strings"
    
    	"cmd/internal/obj"
    	"cmd/internal/obj/arm"
    )
    
    var armLS = map[string]uint8{
    	"U":  arm.C_UBIT,
    	"S":  arm.C_SBIT,
    	"W":  arm.C_WBIT,
    	"P":  arm.C_PBIT,
    	"PW": arm.C_WBIT | arm.C_PBIT,
    	"WP": arm.C_WBIT | arm.C_PBIT,
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  7. src/bytes/buffer.go

    func (b *Buffer) Reset() {
    	b.buf = b.buf[:0]
    	b.off = 0
    	b.lastRead = opInvalid
    }
    
    // tryGrowByReslice is an inlineable version of grow for the fast-case where the
    // internal buffer only needs to be resliced.
    // It returns the index where bytes should be written and whether it succeeded.
    func (b *Buffer) tryGrowByReslice(n int) (int, bool) {
    	if l := len(b.buf); n <= cap(b.buf)-l {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue1435.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build linux && cgo
    
    package cgotest
    
    import (
    	"fmt"
    	"internal/testenv"
    	"os"
    	"runtime"
    	"sort"
    	"strings"
    	"syscall"
    	"testing"
    )
    
    // #include <stdio.h>
    // #include <stdlib.h>
    // #include <pthread.h>
    // #include <unistd.h>
    // #include <sys/types.h>
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    	"debug/elf"
    	"debug/macho"
    	"debug/pe"
    	"encoding/binary"
    	"errors"
    	"flag"
    	"fmt"
    	"go/ast"
    	"go/parser"
    	"go/token"
    	"internal/xcoff"
    	"math"
    	"os"
    	"os/exec"
    	"strconv"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    
    	"cmd/internal/quoted"
    )
    
    var debugDefine = flag.Bool("debug-define", false, "print relevant #defines")
    var debugGcc = flag.Bool("debug-gcc", false, "print gcc invocations")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. src/cmd/asm/main.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"bufio"
    	"flag"
    	"fmt"
    	"internal/buildcfg"
    	"log"
    	"os"
    
    	"cmd/asm/internal/arch"
    	"cmd/asm/internal/asm"
    	"cmd/asm/internal/flags"
    	"cmd/asm/internal/lex"
    
    	"cmd/internal/bio"
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    )
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("asm: ")
    
    	buildcfg.Check()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 2.7K bytes
    - Viewed (0)
Back to top