Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 284 for src0 (0.04 sec)

  1. src/image/draw/draw.go

    				drawPaletted(dst0, r, src, sp, false)
    				return
    			}
    		}
    	case *image.NRGBA:
    		if op == Src && mask == nil {
    			if src0, ok := src.(*image.NRGBA); ok {
    				d0 := dst0.PixOffset(r.Min.X, r.Min.Y)
    				s0 := src0.PixOffset(sp.X, sp.Y)
    				drawCopySrc(
    					dst0.Pix[d0:], dst0.Stride, r, src0.Pix[s0:], src0.Stride, sp, 4*r.Dx())
    				return
    			}
    		}
    	case *image.NRGBA64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  2. src/go/types/builtins_test.go

    	{"copy", `var src, dst []byte; copy(dst, src)`, `func([]byte, []byte) int`},
    	{"copy", `type T [][]int; var src, dst T; _ = copy(dst, src)`, `func(p.T, p.T) int`},
    	{"copy", `var src string; var dst []byte; copy(dst, src)`, `func([]byte, string) int`},
    	{"copy", `type T string; type U []byte; var src T; var dst U; copy(dst, src)`, `func(p.U, p.T) int`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/builtins_test.go

    	{"copy", `var src, dst []byte; copy(dst, src)`, `func([]byte, []byte) int`},
    	{"copy", `type T [][]int; var src, dst T; _ = copy(dst, src)`, `func(p.T, p.T) int`},
    	{"copy", `var src string; var dst []byte; copy(dst, src)`, `func([]byte, string) int`},
    	{"copy", `type T string; type U []byte; var src T; var dst U; copy(dst, src)`, `func(p.U, p.T) int`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 18:06:31 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/builtins.go

    		dst, _ := coreType(x.typ).(*Slice)
    
    		y := args[1]
    		src0 := coreString(y.typ)
    		if src0 != nil && isString(src0) {
    			src0 = NewSlice(universeByte)
    		}
    		src, _ := src0.(*Slice)
    
    		if dst == nil || src == nil {
    			check.errorf(x, InvalidCopy, invalidArg+"copy expects slice arguments; found %s and %s", x, y)
    			return
    		}
    
    		if !Identical(dst.elem, src.elem) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. src/go/types/builtins.go

    		dst, _ := coreType(x.typ).(*Slice)
    
    		y := args[1]
    		src0 := coreString(y.typ)
    		if src0 != nil && isString(src0) {
    			src0 = NewSlice(universeByte)
    		}
    		src, _ := src0.(*Slice)
    
    		if dst == nil || src == nil {
    			check.errorf(x, InvalidCopy, invalidArg+"copy expects slice arguments; found %s and %s", x, y)
    			return
    		}
    
    		if !Identical(dst.elem, src.elem) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  6. src/go/types/issues_test.go

    			t.Fatalf("%s: got %v; want package types", test, pkg)
    		}
    	}
    
    	f("src0", src0)
    	f("src1", src1)
    	f("src2", src2)
    }
    
    func TestIssue22525(t *testing.T) {
    	const src = `package p; func f() { var a, b, c, d, e int }`
    
    	got := "\n"
    	conf := Config{Error: func(err error) { got += err.Error() + "\n" }}
    	typecheck(src, &conf, nil) // do not crash
    	want := "\n" +
    		"p:1:27: declared and not used: a\n" +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/issues_test.go

    			t.Fatalf("%s: got %v; want package types2", test, pkg)
    		}
    	}
    
    	f("src0", src0)
    	f("src1", src1)
    	f("src2", src2)
    }
    
    func TestIssue22525(t *testing.T) {
    	const src = `package p; func f() { var a, b, c, d, e int }`
    
    	got := "\n"
    	conf := Config{Error: func(err error) { got += err.Error() + "\n" }}
    	typecheck(src, &conf, nil) // do not crash
    	want := "\n" +
    		"p:1:27: declared and not used: a\n" +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r52/CppModelCrossVersionSpec.groovy

                    targetMachines = [machines.host().x86, machines.host().x86_64]
                }
            """
            def headerDir = file('src/main/headers')
            def apiHeaderDir = file('src/main/public')
            def src1 = file('src/main/cpp/lib.cpp').createFile()
            def src2 = file('src/main/cpp/lib-impl.cpp').createFile()
    
            when:
            def project = withConnection { connection -> connection.getModel(CppProject.class) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r410/CppModelCrossVersionSpec.groovy

            """
            buildFile << """
                apply plugin: 'cpp-library'
            """
            def headerDir = file('src/main/headers')
            def apiHeaderDir = file('src/main/public')
            def src1 = file('src/main/cpp/lib.cpp').createFile()
            def src2 = file('src/main/cpp/lib-impl.cpp').createFile()
    
            when:
            def project = withConnection { connection -> connection.getModel(CppProject.class) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  10. tensorflow/cc/BUILD

        licenses = ["notice"],
    )
    
    filegroup(
        name = "srcs_no_runtime",
        srcs = [
            "framework/gradients.h",
            "framework/ops.h",
            "framework/scope.h",
            "framework/scope_internal.h",
            "//tensorflow/cc/saved_model:loader.h",
        ],
    )
    
    filegroup(
        name = "srcs",
        srcs = [
            "framework/gradients.h",
            "framework/ops.h",
            "framework/scope.h",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top