Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for dir (0.14 sec)

  1. src/cmd/asm/internal/lex/input.go

    	peekText        string
    }
    
    // NewInput returns an Input from the given path.
    func NewInput(name string) *Input {
    	return &Input{
    		// include directories: look in source dir, then -I directories.
    		includes:        append([]string{filepath.Dir(name)}, flags.I...),
    		beginningOfLine: true,
    		macros:          predefine(flags.D),
    	}
    }
    
    // predefine installs the macros set by the -D flag on the command line.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  2. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const DLT_C_HDLC = 104
    pkg syscall (netbsd-arm64-cgo), const DLT_C_HDLC ideal-int
    pkg syscall (netbsd-arm64-cgo), const DLT_C_HDLC_WITH_DIR = 205
    pkg syscall (netbsd-arm64-cgo), const DLT_C_HDLC_WITH_DIR ideal-int
    pkg syscall (netbsd-arm64-cgo), const DLT_CISCO_IOS = 118
    pkg syscall (netbsd-arm64-cgo), const DLT_CISCO_IOS ideal-int
    pkg syscall (netbsd-arm64-cgo), const DLT_DECT = 221
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  3. src/archive/tar/writer.go

    			spb = append(spb, zeroBlock[:pad]...)
    			hdr.Size += int64(len(spb)) // Accounts for encoded sparse map
    
    			// Add and modify appropriate PAX records.
    			dir, file := path.Split(realName)
    			hdr.Name = path.Join(dir, "GNUSparseFile.0", file)
    			paxHdrs[paxGNUSparseMajor] = "1"
    			paxHdrs[paxGNUSparseMinor] = "0"
    			paxHdrs[paxGNUSparseName] = realName
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  4. src/archive/zip/writer_test.go

    		t.Fatal(err)
    	}
    	if buf.Len() == 0 {
    		t.Fatal("No bytes written after Flush")
    	}
    }
    
    func TestWriterDir(t *testing.T) {
    	w := NewWriter(io.Discard)
    	dw, err := w.Create("dir/")
    	if err != nil {
    		t.Fatal(err)
    	}
    	if _, err := dw.Write(nil); err != nil {
    		t.Errorf("Write(nil) to directory: got %v, want nil", err)
    	}
    	if _, err := dw.Write([]byte("hello")); err == nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    	if usePkgCache {
    		if tags, ok := pkgTags[dir]; ok {
    			key = tagKey(dir, context, tags)
    			if pkg := pkgCache[key]; pkg != nil {
    				w.imported[name] = pkg
    				return pkg, nil
    			}
    		}
    	}
    
    	info, err := context.ImportDir(dir, 0)
    	if err != nil {
    		if _, nogo := err.(*build.NoGoError); nogo {
    			return nil, err
    		}
    		log.Fatalf("pkg %q, dir %q: ScanDir: %v", name, dir, err)
    	}
    
    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)
  6. api/go1.5.txt

    pkg go/types, method (*Builtin) Pkg() *Package
    pkg go/types, method (*Builtin) Pos() token.Pos
    pkg go/types, method (*Builtin) String() string
    pkg go/types, method (*Builtin) Type() Type
    pkg go/types, method (*Chan) Dir() ChanDir
    pkg go/types, method (*Chan) Elem() Type
    pkg go/types, method (*Chan) String() string
    pkg go/types, method (*Chan) Underlying() Type
    pkg go/types, method (*Checker) Files([]*ast.File) error
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  7. misc/go_android_exec/main.go

    // reach out into testdata from parent packages.
    func adbCopyTree(deviceCwd, subdir string) error {
    	dir := ""
    	for {
    		for _, name := range []string{"testdata", "go.mod", "go.sum"} {
    			hostPath := filepath.Join(dir, name)
    			if _, err := os.Stat(hostPath); err != nil {
    				continue
    			}
    			devicePath := path.Join(deviceCwd, dir)
    			if err := adb("exec-out", "mkdir", "-p", devicePath); err != nil {
    				return err
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  8. src/archive/zip/writer.go

    // CreateHeader and CreateRaw.
    func (w *Writer) prepare(fh *FileHeader) error {
    	if w.last != nil && !w.last.closed {
    		if err := w.last.close(); err != nil {
    			return err
    		}
    	}
    	if len(w.dir) > 0 && w.dir[len(w.dir)-1].FileHeader == fh {
    		// See https://golang.org/issue/11144 confusion.
    		return errors.New("archive/zip: invalid duplicate FileHeader")
    	}
    	return nil
    }
    
    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)
  9. api/go1.14.txt

    pkg syscall (freebsd-arm64), const DLT_C_HDLC = 104
    pkg syscall (freebsd-arm64), const DLT_C_HDLC ideal-int
    pkg syscall (freebsd-arm64), const DLT_C_HDLC_WITH_DIR = 205
    pkg syscall (freebsd-arm64), const DLT_C_HDLC_WITH_DIR ideal-int
    pkg syscall (freebsd-arm64), const DLT_CAN_SOCKETCAN = 227
    pkg syscall (freebsd-arm64), const DLT_CAN_SOCKETCAN ideal-int
    pkg syscall (freebsd-arm64), const DLT_CAN20B = 190
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  10. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const DLT_C_HDLC = 104 #53466
    pkg syscall (freebsd-riscv64), const DLT_C_HDLC ideal-int #53466
    pkg syscall (freebsd-riscv64), const DLT_C_HDLC_WITH_DIR = 205 #53466
    pkg syscall (freebsd-riscv64), const DLT_C_HDLC_WITH_DIR ideal-int #53466
    pkg syscall (freebsd-riscv64), const DLT_DBUS = 231 #53466
    pkg syscall (freebsd-riscv64), const DLT_DBUS ideal-int #53466
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
Back to top