Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for src1 (0.05 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. 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)
  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. 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)
  5. 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)
  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. src/crypto/x509/sec1.go

    	"encoding/asn1"
    	"errors"
    	"fmt"
    	"math/big"
    )
    
    const ecPrivKeyVersion = 1
    
    // ecPrivateKey reflects an ASN.1 Elliptic Curve Private Key Structure.
    // References:
    //
    //	RFC 5915
    //	SEC1 - http://www.secg.org/sec1-v2.pdf
    //
    // Per RFC 5915 the NamedCurveOID is marked as ASN.1 OPTIONAL, however in
    // most cases it is not.
    type ecPrivateKey struct {
    	Version       int
    	PrivateKey    []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. 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)
  9. src/runtime/cgo/gcc_mipsx.S

    	sw	$18, 12($29)
    	sw	$19, 16($29)
    	sw	$20, 20($29)
    	sw	$21, 24($29)
    	sw	$22, 28($29)
    	sw	$23, 32($29)
    	sw	$30, 36($29)
    
    #ifndef __mips_soft_float
    	sdc1	$f20, 40($29)
    	sdc1	$f22, 48($29)
    	sdc1	$f24, 56($29)
    	sdc1	$f26, 64($29)
    	sdc1	$f28, 72($29)
    	sdc1	$f30, 80($29)
    #endif
    	move	$20, $4 // save R4
    	move	$4, $6
    	jalr	$5	// call setg_gcc
    	jalr	$20	// call fn
    
    	lw	$16, 4($29)
    	lw	$17, 8($29)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. src/go/parser/testdata/issue23434.src

    Robert Griesemer <******@****.***> 1698787325 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 553 bytes
    - Viewed (0)
Back to top