Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 160 for src1 (0.1 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. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy

            ["src1", "src2"]| _             | _                 | "from() after convention honors it"           | { it.convention("src1"); it.from("src2") }
            ["src2"]        | _             | _                 | "from() before convention prevents it"        | { it.from("src2"); it.convention("src1") }
            ["src1", "src2"]| _             | ["src1"]          | "from() commits convention"                   | { it.from("src2"); it.unsetConvention() }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 53K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  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/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)
  7. 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)
  8. 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)
  9. src/cmd/vendor/golang.org/x/text/transform/transform.go

    				}
    				continue
    			}
    		}
    
    		// Move any untransformed source bytes to the start of the buffer
    		// and read more bytes.
    		if r.src0 != 0 {
    			r.src0, r.src1 = 0, copy(r.src, r.src[r.src0:r.src1])
    		}
    		n, r.err = r.r.Read(r.src[r.src1:])
    		r.src1 += n
    	}
    }
    
    // TODO: implement ReadByte (and ReadRune??).
    
    // Writer wraps another io.Writer by transforming the bytes read.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/text/transform/transform.go

    				}
    				continue
    			}
    		}
    
    		// Move any untransformed source bytes to the start of the buffer
    		// and read more bytes.
    		if r.src0 != 0 {
    			r.src0, r.src1 = 0, copy(r.src, r.src[r.src0:r.src1])
    		}
    		n, r.err = r.r.Read(r.src[r.src1:])
    		r.src1 += n
    	}
    }
    
    // TODO: implement ReadByte (and ReadRune??).
    
    // Writer wraps another io.Writer by transforming the bytes read.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 21 22:10:00 UTC 2020
    - 21.7K bytes
    - Viewed (0)
Back to top