Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for src2 (0.35 sec)

  1. 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)
  2. 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)
  3. platforms/documentation/docs/src/snippets/files/fileCollections/groovy/build.gradle

    FileCollection collection = layout.files('src/file1.txt',
                                      new File('src/file2.txt'),
                                      ['src/file3.csv', 'src/file4.csv'],
                                      Paths.get('src', 'file5.txt'))
    // end::simple-params[]
    
    file('src').mkdirs()
    file('src/dir1').mkdirs()
    file('src/file1.txt').mkdirs()
    file('src2').mkdirs()
    file('src2/dir1').mkdirs()
    file('src2/dir2').mkdirs()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 13:55:00 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/files/fileCollections/kotlin/build.gradle.kts

    // tag::simple-params[]
    val collection: FileCollection = layout.files(
        "src/file1.txt",
        File("src/file2.txt"),
        listOf("src/file3.csv", "src/file4.csv"),
        Paths.get("src", "file5.txt")
    )
    // end::simple-params[]
    
    file("src").mkdirs()
    file("src/dir1").mkdirs()
    file("src/file1.txt").mkdirs()
    file("src2").mkdirs()
    file("src2/dir1").mkdirs()
    file("src2/dir2").mkdirs()
    
    // tag::closure[]
    tasks.register("list") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 13:55:00 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/files/fileCollections/tests/fileCollectionsWithClosure.out

    Contents of src
    src/dir1
    src/file1.txt
    Contents of src2
    src2/dir1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 76 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/files/fileCollections/tests/fileCollectionsConventions.out

    Source dirs: [src, src2]...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 13:03:07 UTC 2024
    - 25 bytes
    - Viewed (0)
  7. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputSource.java

            }
            return getModelId() + " " + getLocation();
        }
    
        public static InputSource merge(InputSource src1, InputSource src2) {
            return new InputSource(Stream.concat(src1.sources(), src2.sources()).collect(Collectors.toSet()));
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Sep 05 16:06:44 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top