Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 273 for coerce (0.06 sec)

  1. src/cmd/cgo/gcc.go

    		}
    
    		// Otherwise, we'll need to find out from gcc.
    		names = append(names, n)
    	}
    
    	// Bypass gcc if there's nothing left to find out.
    	if len(names) == 0 {
    		return needType
    	}
    
    	// Coerce gcc into telling us whether each name is a type, a value, or undeclared.
    	// For names, find out whether they are integer constants.
    	// We used to look at specific warning or error messages here, but that tied the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/shell.go

    func (sh *Shell) moveOrCopyFile(dst, src string, perm fs.FileMode, force bool) error {
    	if cfg.BuildN {
    		sh.ShowCmd("", "mv %s %s", src, dst)
    		return nil
    	}
    
    	// If we can update the mode and rename to the dst, do it.
    	// Otherwise fall back to standard copy.
    
    	// If the source is in the build cache, we need to copy it.
    	dir, _ := cache.DefaultDir()
    	if strings.HasPrefix(src, dir) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/tool/tool.go

    // Copyright 2011 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.
    
    // Package tool implements the “go tool” command.
    package tool
    
    import (
    	"cmd/internal/telemetry"
    	"context"
    	"encoding/json"
    	"flag"
    	"fmt"
    	"go/build"
    	"internal/platform"
    	"os"
    	"os/exec"
    	"os/signal"
    	"sort"
    	"strings"
    
    	"cmd/go/internal/base"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. association.go

    				if rv.Len() > 0 {
    					association.Error = association.Relationship.Field.Set(association.DB.Statement.Context, source, rv.Index(0).Addr().Interface())
    
    					if association.Relationship.Field.FieldType.Kind() == reflect.Struct {
    						assignBacks = append(assignBacks, assignBack{Source: source, Dest: rv.Index(0)})
    					}
    				}
    			case reflect.Struct:
    				if !rv.CanAddr() {
    					association.Error = ErrInvalidValue
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/fmahash_test.go

    	}
    
    	testenv.MustHaveGoBuild(t)
    	gocmd := testenv.GoToolPath(t)
    	tmpdir := t.TempDir()
    	source := filepath.Join("testdata", "fma.go")
    	output := filepath.Join(tmpdir, "fma.exe")
    	cmd := testenv.Command(t, gocmd, "build", "-o", output, source)
    	// The hash-dependence on file path name is dodged by specifying "all hashes ending in 1" plus "all hashes ending in 0"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 21:57:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/schedule.go

    	order := make([]*Value, len(values))
    	for _, v := range values {
    		s := storeNumber[v.ID]
    		order[count[s-1]] = v
    		count[s-1]++
    	}
    
    	// Order nil checks in source order. We want the first in source order to trigger.
    	// If two are on the same line, we don't really care which happens first.
    	// See issue 18169.
    	if hasNilCheck {
    		start := -1
    		for i, v := range order {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. src/cmd/dist/build.go

    	defer timelog("end", "dist bootstrap")
    
    	var debug, distpack, force, noBanner, noClean bool
    	flag.BoolVar(&rebuildall, "a", rebuildall, "rebuild all")
    	flag.BoolVar(&debug, "d", debug, "enable debugging of bootstrap process")
    	flag.BoolVar(&distpack, "distpack", distpack, "write distribution files to pkg/distpack")
    	flag.BoolVar(&force, "force", force, "build even if the port is marked as broken")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  8. src/cmd/go/internal/telemetrystats/telemetrystats_bootstrap.go

    // Copyright 2024 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 cmd_go_bootstrap
    
    package telemetrystats
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 233 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/seh_windows_test.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.
    
    //go:build cgo && windows && !internal
    
    package cgotest
    
    import "testing"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 06:52:00 UTC 2024
    - 307 bytes
    - Viewed (0)
  10. src/cmd/go/internal/script/cmds_unix.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.
    
    //go:build unix
    
    package script
    
    import (
    	"errors"
    	"syscall"
    )
    
    func isETXTBSY(err error) bool {
    	return errors.Is(err, syscall.ETXTBSY)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 00:12:01 UTC 2024
    - 301 bytes
    - Viewed (0)
Back to top