Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for _Import (0.16 sec)

  1. src/cmd/compile/internal/syntax/token_string.go

    	_ = x[_Continue-26]
    	_ = x[_Default-27]
    	_ = x[_Defer-28]
    	_ = x[_Else-29]
    	_ = x[_Fallthrough-30]
    	_ = x[_For-31]
    	_ = x[_Func-32]
    	_ = x[_Go-33]
    	_ = x[_Goto-34]
    	_ = x[_If-35]
    	_ = x[_Import-36]
    	_ = x[_Interface-37]
    	_ = x[_Map-38]
    	_ = x[_Package-39]
    	_ = x[_Range-40]
    	_ = x[_Return-41]
    	_ = x[_Select-42]
    	_ = x[_Struct-43]
    	_ = x[_Switch-44]
    	_ = x[_Type-45]
    	_ = x[_Var-46]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 29 02:28:24 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/tokens.go

    	_Defer       // defer
    	_Else        // else
    	_Fallthrough // fallthrough
    	_For         // for
    	_Func        // func
    	_Go          // go
    	_Goto        // goto
    	_If          // if
    	_Import      // import
    	_Interface   // interface
    	_Map         // map
    	_Package     // package
    	_Range       // range
    	_Return      // return
    	_Select      // select
    	_Struct      // struct
    	_Switch      // switch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/parser.go

    	if p.first != nil {
    		return nil
    	}
    
    	// Accept import declarations anywhere for error tolerance, but complain.
    	// { ( ImportDecl | TopLevelDecl ) ";" }
    	prev := _Import
    	for p.tok != _EOF {
    		if p.tok == _Import && prev != _Import {
    			p.syntaxError("imports must appear before other declarations")
    		}
    		prev = p.tok
    
    		switch p.tok {
    		case _Import:
    			p.next()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/printer.go

    				p.print(n.Cond)
    			}
    			p.print(_Semi, blank)
    			if n.Post != nil {
    				p.print(n.Post, blank)
    			}
    		}
    		p.print(n.Body)
    
    	case *ImportDecl:
    		if n.Group == nil {
    			p.print(_Import, blank)
    		}
    		if n.LocalPkgName != nil {
    			p.print(n.LocalPkgName, blank)
    		}
    		p.print(n.Path)
    
    	case *ConstDecl:
    		if n.Group == nil {
    			p.print(_Const, blank)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/scanner_test.go

    	{_Defer, "defer", 0, 0},
    	{_Else, "else", 0, 0},
    	{_Fallthrough, "fallthrough", 0, 0},
    	{_For, "for", 0, 0},
    	{_Func, "func", 0, 0},
    	{_Go, "go", 0, 0},
    	{_Goto, "goto", 0, 0},
    	{_If, "if", 0, 0},
    	{_Import, "import", 0, 0},
    	{_Interface, "interface", 0, 0},
    	{_Map, "map", 0, 0},
    	{_Package, "package", 0, 0},
    	{_Range, "range", 0, 0},
    	{_Return, "return", 0, 0},
    	{_Select, "select", 0, 0},
    	{_Struct, "struct", 0, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/typecheck/iimport.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.
    
    // Indexed package import.
    // See iexport.go for the export data format.
    
    package typecheck
    
    import (
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/types"
    )
    
    // HaveInlineBody reports whether we have fn's inline body available
    // for inlining.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:52:50 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. src/go/internal/gcimporter/iimport.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.
    
    // Indexed package import.
    // See cmd/compile/internal/gc/iexport.go for the export data format.
    
    package gcimporter
    
    import (
    	"bufio"
    	"bytes"
    	"encoding/binary"
    	"fmt"
    	"go/constant"
    	"go/token"
    	"go/types"
    	"internal/saferio"
    	"io"
    	"math"
    	"math/big"
    	"slices"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. src/cmd/gofmt/testdata/import.golden

    )
    
    import (
    	// a block with comments
    	"errors"
    	"fmt" // for Printf
    	"io"  // for Reader
    	"log" // for Fatal
    	"math"
    )
    
    import (
    	"fmt" // for Printf
    
    	"math"
    
    	"log" // for Fatal
    
    	"errors"
    
    	"io" // for Reader
    )
    
    import (
    	// for Printf
    	"fmt"
    
    	"math"
    
    	// for Fatal
    	"log"
    
    	"errors"
    
    	// for Reader
    	"io"
    )
    
    import (
    	"errors"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 28 23:33:26 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  9. src/go/ast/import.go

    package ast
    
    import (
    	"cmp"
    	"go/token"
    	"slices"
    	"strconv"
    )
    
    // SortImports sorts runs of consecutive import lines in import blocks in f.
    // It also removes duplicate imports when it is possible to do so without data loss.
    func SortImports(fset *token.FileSet, f *File) {
    	for _, d := range f.Decls {
    		d, ok := d.(*GenDecl)
    		if !ok || d.Tok != token.IMPORT {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. cmd/import-boss/testdata/simple-fwd/aaa/.import-restrictions

    rules:
      - selectorRegexp: k8s[.]io
        allowedPrefixes:
          - k8s.io/kubernetes/cmd/import-boss/testdata/simple-fwd/allowed
        forbiddenPrefixes:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:36 UTC 2024
    - 222 bytes
    - Viewed (0)
Back to top