Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,485 for corerest (1.37 sec)

  1. src/internal/types/testdata/fixedbugs/issue60562.go

    	f2(x /* ERROR "type func(interface{m(int)}) of x does not match func(I[T]) (cannot infer T)" */)
    }
    
    func f3[T any](func(I[T])) {}
    
    func _() {
    	var x func(I[int])
    	f3(x) // but this is correct: I[T] and I[int] can be made identical with T == int
    }
    
    func f4[T any]([10]I[T]) {}
    
    func _() {
    	var x [10]interface{ I[int] }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 14:52:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/go/printer/printer_test.go

    const (
    	export checkMode = 1 << iota
    	rawFormat
    	normNumber
    	idempotent
    	allowTypeParams
    )
    
    // format parses src, prints the corresponding AST, verifies the resulting
    // src is syntactically correct, and returns the resulting src or an error
    // if any.
    func format(src []byte, mode checkMode) ([]byte, error) {
    	// parse src
    	f, err := parser.ParseFile(fset, "", src, parser.ParseComments)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. platforms/jvm/code-quality/src/test/groovy/org/gradle/api/plugins/quality/PmdPluginTest.groovy

            def pmdTask = project.tasks.getByName("pmdMain")
            expect:
            pmdTask.classpath.files == (mainSourceSet.output + mainSourceSet.compileClasspath).files
        }
    
        def "tool configuration has correct attributes"() {
            expect:
            with(project.configurations.pmd.attributes) {
                assert getAttribute(Category.CATEGORY_ATTRIBUTE).name == Category.LIBRARY
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 14:47:31 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy

        }
    
        def "build succeeds if test class is only available in one test task"() {
            given:
            file("src/moreTests/java/more/MoreTest.java") << """
                package more;
                public class MoreTest {
                    @org.junit.Test public void bar() throws Exception {
                         org.junit.Assert.assertEquals(2, 2);
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultFileSystemAccessConcurrencyTest.groovy

    
    import java.util.concurrent.Executors
    import java.util.concurrent.TimeUnit
    
    class DefaultFileSystemAccessConcurrencyTest extends AbstractFileSystemAccessTest {
    
        def "parallel invalidation yields correct results"() {
            def dir = temporaryFolder.createDir("some/deep/hierarchy")
            (1..1000).each {
                def subdir = dir.file(it)
                subdir.file("in-dir.txt").createFile()
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. test/fixedbugs/issue24799.go

    // generating an instruction with DS relocation for go.strings
    // since their alignment is not known until link time. 
    
    // This problem only affects go.string since other types have
    // correct alignment.
    
    const (
            LevelBad Level = "badvals"
            LevelNone Level = "No"
            LevelMetadata Level = "Metadata"
            LevelRequest Level = "Request"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 20 16:16:47 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.cc

                  TypeID::get<FallbackAsyncDialect>()) {
      context->getOrLoadDialect<tfrt::fallback::FallbackDialect>();
      context->getOrLoadDialect<compiler::TFRTDialect>();
      context->getOrLoadDialect<corert::CoreRTDialect>();
    
      allowUnknownTypes();
    
      allowUnknownOperations();
    
      addInterfaces<FallbackInlinerInterface>();
    
      addOperations<
    #define GET_OP_LIST
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  8. src/cmd/gofmt/testdata/typeswitch.golden

    /*
    Parenthesized type switch expressions originally
    accepted by gofmt must continue to be rewritten
    into the correct unparenthesized form.
    
    Only type-switches that didn't declare a variable
    in the type switch type assertion and which
    contained only "expression-like" (named) types in their
    cases were permitted to have their type assertion parenthesized
    by go/parser (due to a weak predicate in the parser). All others
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 15 17:17:30 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/cases/icu.go

    // Ideally these functions would be defined in a test file, but go test doesn't
    // allow CGO in tests. The build tag should ensure either way that these
    // functions will not end up in the package.
    
    // TODO: Ensure that the correct ICU version is set.
    
    /*
    #cgo LDFLAGS: -licui18n.57 -licuuc.57
    #include <stdlib.h>
    #include <unicode/ustring.h>
    #include <unicode/utypes.h>
    #include <unicode/localpointer.h>
    #include <unicode/ucasemap.h>
    */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. test/fixedbugs/bug449.go

    // catch this.
    // NOTE: this program assumes comparing instance of T and T's
    // underlying []byte will make gc emit calls to runtime.equal,
    // and if gc optimizes this case, then the test will no longer
    // be correct (in the sense that it no longer tests runtime.equal).
    
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"strconv"
    	"strings"
    )
    
    const ntest = 1024
    
    func main() {
    	var decls, calls bytes.Buffer
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 01 03:02:46 UTC 2012
    - 1.5K bytes
    - Viewed (0)
Back to top