Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for Futures (0.25 sec)

  1. src/cmd/vendor/golang.org/x/tools/internal/versions/features.go

    	Go1_21 = "go1.21"
    	Go1_22 = "go1.22"
    )
    
    // Future is an invalid unknown Go version sometime in the future.
    // Do not use directly with Compare.
    const Future = ""
    
    // AtLeast reports whether the file version v comes after a Go release.
    //
    // Use this predicate to enable a behavior once a certain Go release
    // has happened (and stays enabled in the future).
    func AtLeast(v, release string) bool {
    	if v == Future {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/gotoolchain_modcmds.txt

    # the go.mod file to record a specific, stable toolchain version that can.
    
    ! go mod verify
    stderr '^go: rsc.io/future@v1.0.0: module rsc.io/future@v1.0.0 requires go >= 1.999 \(running go 1.21.0\)'
    
    ! go mod graph
    stderr '^go: rsc.io/future@v1.0.0: module rsc.io/future@v1.0.0 requires go >= 1.999 \(running go 1.21.0\)'
    
    # TODO(#64008): 'go mod download' without arguments should fail too.
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 19:32:39 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/mod/rsc.io_future_v1.0.0.txt

    rsc.io/future v1.0.0
    written by hand
    
    -- .mod --
    module rsc.io/future
    go 1.999
    -- .info --
    {"Version":"v1.0.0"}
    -- main.go --
    package main
    
    func main() {
    }
    -- go.mod --
    module rsc.io/future
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 17:07:09 UTC 2023
    - 199 bytes
    - Viewed (0)
  4. src/cmd/link/testdata/linkname/fastrand.go

    // license that can be found in the LICENSE file.
    
    // Linkname fastrand is allowed _for now_, as it has a
    // linknamed definition, for legacy reason.
    // NOTE: this may not be allowed in the future. Don't do this!
    
    package main
    
    import _ "unsafe"
    
    //go:linkname fastrand runtime.fastrand
    func fastrand() uint32
    
    func main() {
    	println(fastrand())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 457 bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/unveil_openbsd.go

    	if err != nil {
    		return err
    	}
    	flagsPtr, err := BytePtrFromString(flags)
    	if err != nil {
    		return err
    	}
    	return unveil(pathPtr, flagsPtr)
    }
    
    // UnveilBlock blocks future unveil calls.
    // For more information see unveil(2).
    func UnveilBlock() error {
    	if err := supportsUnveil(); err != nil {
    		return err
    	}
    	return unveil(nil, nil)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/build/PATENTS

    transfer and otherwise run, modify and propagate the contents of this
    implementation of Go, where such license applies only to those patent
    claims, both currently owned or controlled by Google and acquired in
    the future, licensable by Google that are necessarily infringed by this
    implementation of Go.  This grant does not include claims that would be
    infringed only as a consequence of further modification of this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/PATENTS

    transfer and otherwise run, modify and propagate the contents of this
    implementation of Go, where such license applies only to those patent
    claims, both currently owned or controlled by Google and acquired in
    the future, licensable by Google that are necessarily infringed by this
    implementation of Go.  This grant does not include claims that would be
    infringed only as a consequence of further modification of this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. src/cmd/internal/test2json/test2json_test.go

    					diffJSON(t, buf.Bytes(), want)
    				})
    			}
    		})
    	}
    }
    
    // writeAndKill writes b to w and then fills b with Zs.
    // The filling makes sure that if w is holding onto b for
    // future use, that future use will have obviously wrong data.
    func writeAndKill(w io.Writer, b []byte) {
    	w.Write(b)
    	for i := range b {
    		b[i] = 'Z'
    	}
    }
    
    // diffJSON diffs the stream we have against the stream we want
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  9. src/cmd/internal/cov/covcmd/cmddefs.go

    	// Length of the meta-data.
    	MetaLen int
    
    	// Hash computed by cmd/cover of the meta-data.
    	MetaHash string
    
    	// Instrumentation strategy. For now this is always set to
    	// "normal", but in the future we may add new values (for example,
    	// if panic paths are instrumented, or if the instrumenter
    	// eliminates redundant counters).
    	Strategy string
    
    	// Prefix assigned to the names of counter variables generated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 30 16:13:15 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/termlist.go

    				// and other terms and the result would not be
    				// in normal form.)
    				if u1.typ == nil {
    					return allTermlist
    				}
    				xi = u1
    				used[j] = true // xj is now unioned into xi - ignore it in future iterations
    			}
    		}
    		rl = append(rl, xi)
    	}
    	return rl
    }
    
    // union returns the union xl ∪ yl.
    func (xl termlist) union(yl termlist) termlist {
    	return append(xl, yl...).norm()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 03 18:29:30 UTC 2022
    - 3.8K bytes
    - Viewed (0)
Back to top