Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for difference (0.5 sec)

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

    	// position to discover whether there is a blank before the parenthesis.
    	// We only get here if defining a macro inside a macro.
    	// This imperfect implementation means we cannot tell the difference between
    	//	#define A #define B(x) x
    	// and
    	//	#define A #define B (x) x
    	// The first definition of B has an argument, the second doesn't. Because we let
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 29 22:49:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/numberlines.go

    				if f.pass.debug > 0 {
    					fmt.Printf("Mark stmt effectively-empty-block %s %s %s\n", f.Name, b, flc(b.Pos))
    				}
    			}
    			endlines[b.ID] = b.Pos
    			continue
    		}
    		// check predecessors for any difference; if firstPos differs, then it is a boundary.
    		if len(b.Preds) == 0 { // Don't forget the entry block
    			b.Values[firstPosIndex].Pos = firstPos.WithIsStmt()
    			if f.pass.debug > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 21:26:13 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/arch/arm.go

    func IsARMFloatCmp(op obj.As) bool {
    	switch op {
    	case arm.ACMPF, arm.ACMPD:
    		return true
    	}
    	return false
    }
    
    // ARMMRCOffset implements the peculiar encoding of the MRC and MCR instructions.
    // The difference between MRC and MCR is represented by a bit high in the word, not
    // in the usual way by the opcode itself. Asm must use AMRC for both instructions, so
    // we return the opcode for MRC so that asm doesn't need to import obj/arm.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testshared/testdata/global/main.go

    		panic("testLargeOffset: address mismatch")
    	}
    }
    
    func main() {
    	testLoop()
    
    	// SSA rules commonly merge offsets into addresses. These
    	// tests access global data in different ways to try
    	// and exercise different SSA rules.
    	testMediumOffset()
    	testLargeOffset()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/util.go

    // Copyright 2023 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.
    
    // This file contains various functionality that is
    // different between go/types and types2. Factoring
    // out this code allows more of the rest of the code
    // to be shared.
    
    package types2
    
    import (
    	"cmd/compile/internal/syntax"
    	"go/constant"
    	"go/token"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue9510.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo && !((ppc64 || ppc64le) && internal)
    
    // Test that we can link together two different cgo packages that both
    // use the same libgcc function.
    
    package cgotest
    
    import (
    	"runtime"
    	"testing"
    
    	"cmd/cgo/internal/test/issue9510a"
    	"cmd/cgo/internal/test/issue9510b"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 15:35:35 UTC 2024
    - 606 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/object_test.go

    		{NewTypeName(nopos, pkg, "t3", n1), true},                         // type name refers to named type with different type name
    		{NewTypeName(nopos, nil, "t4", Typ[Int32]), true},                 // type name refers to basic type with different name
    		{NewTypeName(nopos, nil, "int32", Typ[Int32]), false},             // type name refers to basic type with same name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. src/cmd/go/internal/load/search.go

    		return func(p *Package) bool {
    			// Compute relative path to dir and see if it matches the pattern.
    			rel, err := filepath.Rel(dir, p.Dir)
    			if err != nil {
    				// Cannot make relative - e.g. different drive letters on Windows.
    				return false
    			}
    			rel = filepath.ToSlash(rel)
    			if rel == ".." || strings.HasPrefix(rel, "../") {
    				return false
    			}
    			return matchPath(rel)
    		}
    	case pattern == "all":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 16:43:40 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. src/cmd/go/internal/lockedfile/internal/filelock/filelock_fcntl.go

    // This code implements the filelock API using POSIX 'fcntl' locks, which attach
    // to an (inode, process) pair rather than a file descriptor. To avoid unlocking
    // files prematurely when the same file is opened through different descriptors,
    // we allow only one read-lock at a time.
    //
    // Most platforms provide some alternative API, such as an 'flock' system call
    // or an F_OFD_SETLK command for 'fcntl', that allows for better concurrency and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 17 02:24:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/typecheck/dcl.go

    		autotmpnames = append(autotmpnames, make([]string, n+1-len(autotmpnames))...)
    		autotmpnames = autotmpnames[:cap(autotmpnames)]
    	}
    
    	s := autotmpnames[n]
    	if s == "" {
    		// Give each tmp a different name so that they can be registerized.
    		// Add a preceding . to avoid clashing with legal names.
    		prefix := ".autotmp_%d"
    
    		s = fmt.Sprintf(prefix, n)
    		autotmpnames[n] = s
    	}
    	return s
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:15:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top