Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for duplicate (0.34 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  6. 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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  7. doc/next/6-stdlib/2-unique.md

    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    their memory footprint.
    Comparing two `Handle[T]` values is efficient, reducing down to a simple
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 579 bytes
    - Viewed (0)
  8. 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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/parse.go

    			hi := lo
    			if p.peek() == '-' {
    				p.next()
    				hi = p.registerNumber(p.next().String())
    			}
    			if hi < lo {
    				lo, hi = hi, lo
    			}
    			// Check there are no duplicates in the register list.
    			for i := 0; lo <= hi && i < maxReg; i++ {
    				if bits&(1<<lo) != 0 {
    					p.errorf("register R%d already in list", lo)
    				}
    				bits |= 1 << lo
    				lo++
    			}
    		default:
    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)
  10. 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)
Back to top