Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,047 for src0 (0.1 sec)

  1. src/image/draw/clip_test.go

    	dst0 := image.NewRGBA(image.Rect(0, 0, 100, 100))
    	src0 := image.NewRGBA(image.Rect(0, 0, 100, 100))
    	mask0 := image.NewRGBA(image.Rect(0, 0, 100, 100))
    	for _, c := range clipTests {
    		dst := dst0.SubImage(c.dr).(*image.RGBA)
    		src := src0.SubImage(c.sr).(*image.RGBA)
    		r, sp, mp := c.r, c.sp, c.mp
    		if c.nilMask {
    			clip(dst, &r, src, &sp, nil, nil)
    		} else {
    			clip(dst, &r, src, &sp, mask0.SubImage(c.mr), &mp)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. test/typeparam/issue47878.go

    func (s Src5[T]) Next() {
    	var x interface{} = s
    	_ = (x.(Src5[T]))()
    }
    
    func main() {
    	var src1 Src1[int]
    	src1.Next()
    
    	var src2 Src2[int]
    	src2.Next()
    
    	var src3 Src3[string]
    	src3.Next()
    
    	var src4 Src4[int]
    	src4.Next()
    
    	var src5 Src5[int]
    	src5.Next()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 802 bytes
    - Viewed (0)
  3. pkg/util/slice/slice_test.go

    func TestCopyStrings(t *testing.T) {
    	var src1 []string
    	dest1 := CopyStrings(src1)
    
    	if !reflect.DeepEqual(src1, dest1) {
    		t.Errorf("%v and %v are not equal", src1, dest1)
    	}
    
    	src2 := []string{}
    	dest2 := CopyStrings(src2)
    
    	if !reflect.DeepEqual(src2, dest2) {
    		t.Errorf("%v and %v are not equal", src2, dest2)
    	}
    
    	src3 := []string{"a", "c", "b"}
    	dest3 := CopyStrings(src3)
    
    	if !reflect.DeepEqual(src3, dest3) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 30 07:21:37 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  4. src/image/draw/bench_test.go

    				})
    			}
    		}
    		src = src1
    	case color.GrayModel:
    		src1 := image.NewGray(image.Rect(0, 0, srcw, srch))
    		for y := 0; y < srch; y++ {
    			for x := 0; x < srcw; x++ {
    				src1.SetGray(x, y, color.Gray{
    					uint8((11*x + 13*y) % 0x100),
    				})
    			}
    		}
    		src = src1
    	case color.RGBAModel:
    		src1 := image.NewRGBA(image.Rect(0, 0, srcw, srch))
    		for y := 0; y < srch; y++ {
    			for x := 0; x < srcw; x++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  5. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/plugins/BinaryBasePluginTest.groovy

                            sources {
                                put("src1", Stub(LanguageSourceSet))
                                put("src2", Stub(LanguageSourceSet))
                            }
                        }
                        bin2(BinarySpec) {
                            sources {
                                put("src1", Stub(LanguageSourceSet))
                            }
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/GroovyIncrementalCompilationIntegrationTest.groovy

        }
    
        def 'recompiles when moving class to another source file'() {
            given:
            File src1 = source('class A { }\n class B { }')
            File src2 = source('class C { }')
    
            outputs.snapshot { run 'compileGroovy' }
    
            when:
            src1.text = 'class A { }'
            src2.text = 'class C { } \n class B { }'
            run 'compileGroovy'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-monolithic/src/src.cpp

    #include "src${sourceIdx}_h.h"
    
    <% includedHeaderCount.times { %>
    #include "src${it}_h.h"
    <% } %>
    
    <% includedCommonHeaderCount.times { %>
    #include "common/include/header${it}.h"
    <% } %>
    
    #include <stdio.h>
    
    <% functionCount.times { %>
    int CPP_function_${(it+1)+offset} () {
      printf("Hello world!");
      return 0;
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 325 bytes
    - Viewed (0)
  8. src/go/parser/testdata/resolution/issue45136.src

    Rob Findley <******@****.***> 1616637349 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 16 21:19:23 UTC 2021
    - 556 bytes
    - Viewed (0)
  9. src/test/resources/org/codelibs/core/io/src.txt

    Shinsuke Sugaya <******@****.***> 1419757266 +0900
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Sun Dec 28 09:01:06 UTC 2014
    - 1K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-monolithic/src/src.c

    #include "src${sourceIdx}_h.h"
    
    <% includedHeaderCount.times { %>
    #include "src${it}_h.h"
    <% } %>
    
    <% includedCommonHeaderCount.times { %>
    #include "common/include/header${it}.h"
    <% } %>
    
    #include <stdio.h>
    
    <% functionCount.times { %>
    int C_function_${(it+1)+offset} () {
      printf("Hello world!");
      return 0;
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 322 bytes
    - Viewed (0)
Back to top