Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for replicate (1.71 sec)

  1. src/archive/zip/reader.go

    	isDup bool
    }
    
    type fileInfoDirEntry interface {
    	fs.FileInfo
    	fs.DirEntry
    }
    
    func (f *fileListEntry) stat() (fileInfoDirEntry, error) {
    	if f.isDup {
    		return nil, errors.New(f.name + ": duplicate entries in zip file")
    	}
    	if !f.isDir {
    		return headerFileInfo{&f.file.FileHeader}, nil
    	}
    	return f, nil
    }
    
    // Only used for directories.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    since it is copied into two different C output files, it must not
    contain any definitions, only declarations. If a file contains both
    definitions and declarations, then the two output files will produce
    duplicate symbols and the linker will fail. To avoid this, definitions
    must be placed in preambles in other files, or in C source files.
    
    # Passing pointers
    
    Go is a garbage collected language, and the garbage collector needs to
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    case x == 4: f3()
    }
    </pre>
    
    <p>
    Implementation restriction: A compiler may disallow multiple case
    expressions evaluating to the same constant.
    For instance, the current compilers disallow duplicate integer,
    floating point, or string constants in case expressions.
    </p>
    
    <h4 id="Type_switches">Type switches</h4>
    
    <p>
    A type switch compares types rather than values. It is otherwise similar
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    // converts names to upper case, and rewrites _ into Pad_godefs_n,
    // so that all fields are exported.
    func godefsFields(fld []*ast.Field) {
    	prefix := fieldPrefix(fld)
    
    	// Issue 48396: check for duplicate field names.
    	if prefix != "" {
    		names := make(map[string]bool)
    	fldLoop:
    		for _, f := range fld {
    			for _, n := range f.Names {
    				name := n.Name
    				if name == "_" {
    					continue
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. api/go1.txt

    pkg syscall (windows-386), const DNS_TYPE_WKS ideal-int
    pkg syscall (windows-386), const DNS_TYPE_X25 ideal-int
    pkg syscall (windows-386), const DUPLICATE_CLOSE_SOURCE ideal-int
    pkg syscall (windows-386), const DUPLICATE_SAME_ACCESS ideal-int
    pkg syscall (windows-386), const EADV Errno
    pkg syscall (windows-386), const EBADE Errno
    pkg syscall (windows-386), const EBADFD Errno
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  6. src/cmd/asm/internal/asm/line_test.go

    		{"VADDPD.A.A X0, X1, X2", `unknown suffix "A"; duplicate suffix "A"`},
    		{"VADDPD.A.A.A X0, X1, X2", `unknown suffix "A"; duplicate suffix "A"`},
    		{"VADDPD.A.B X0, X1, X2", `unknown suffix "A"; unknown suffix "B"`},
    		{"VADDPD.Z.A X0, X1, X2", `Z suffix should be the last; unknown suffix "A"`},
    		{"VADDPD.Z.Z X0, X1, X2", `Z suffix should be the last; duplicate suffix "Z"`},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue29563.go

    // 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 cgo && !windows
    
    // Issue 29563: internal linker fails on duplicate weak symbols.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 363 bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/input.go

    			case scanner.Ident:
    				if !acceptArg {
    					in.Error("bad syntax in definition for macro:", name)
    				}
    				arg := in.Stack.Text()
    				if i := lookup(args, arg); i >= 0 {
    					in.Error("duplicate argument", arg, "in definition for macro:", name)
    				}
    				args = append(args, arg)
    				acceptArg = false
    			default:
    				in.Error("bad definition for macro:", name)
    			}
    		}
    	}
    	var tokens []Token
    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)
  9. doc/go_spec.html

    equations for the respective type parameters.
    </p>
    
    <p>
    For example, given
    </p>
    
    <pre>
    // dedup returns a copy of the argument slice with any duplicate entries removed.
    func dedup[S ~[]E, E comparable](S) S { … }
    
    type Slice []int
    var s Slice
    s = dedup(s)   // same as s = dedup[Slice, int](s)
    </pre>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  10. api/go1.1.txt

    pkg syscall (windows-386), const DNS_TYPE_WINSR = 65282
    pkg syscall (windows-386), const DNS_TYPE_WKS = 11
    pkg syscall (windows-386), const DNS_TYPE_X25 = 19
    pkg syscall (windows-386), const DUPLICATE_CLOSE_SOURCE = 1
    pkg syscall (windows-386), const DUPLICATE_SAME_ACCESS = 2
    pkg syscall (windows-386), const E2BIG = 536870912
    pkg syscall (windows-386), const EACCES = 536870913
    pkg syscall (windows-386), const EADDRINUSE = 536870914
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
Back to top