Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for M4 (0.08 sec)

  1. src/maps/example_test.go

    		"one": {1, 2, 3},
    		"two": {4, 5, 6},
    	}
    	m4 := map[string][]int{
    		"one": {7, 8, 9},
    	}
    
    	maps.Copy(m4, m3)
    	fmt.Println("m4 is:", m4)
    
    	m4["one"][0] = 100
    	fmt.Println("m3 is:", m3)
    	fmt.Println("m4 is:", m4)
    
    	// Output:
    	// m2 is: map[one:1 two:2]
    	// m1 is: map[one:1 two:2]
    	// m2 is: map[one:100 two:2]
    	// m4 is: map[one:[1 2 3] two:[4 5 6]]
    	// m3 is: map[one:[100 2 3] two:[4 5 6]]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:21:56 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ParallelDownloadsIntegrationTest.groovy

                blockingServer.get(m4.pom.path).sendFile(m4.pom.file))
            blockingServer.expectConcurrent(
                blockingServer.get(m1.artifact.path).sendFile(m1.artifact.file),
                blockingServer.get(m2.artifact.path).sendFile(m2.artifact.file),
                blockingServer.get(m3.artifact.path).sendFile(m3.artifact.file),
                blockingServer.get(m4.artifact.path).sendFile(m4.artifact.file))
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue28251.go

            T3 = T
    )
    
    func (T2) m2() {}
    func _() { (T{}).m2() }
    func _() { (&T{}).m2() }
    
    type (
            T4 = ((*(T5)))
            T5 = T
    )
    
    func (T4) m4() {}
    func _() { (T{}).m4 /* ERROR "cannot call pointer method m4 on T" */ () }
    func _() { (&T{}).m4() }
    
    type (
            T6 = (((T7)))
            T7 = (*(T8))
            T8 = T
    )
    
    func (T6) m6() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenScopesIntegrationTest.groovy

            def m1 = mavenRepo.module('test', 'test1', '1.0').publish()
            def m2 = mavenRepo.module('test', 'test2', '1.0').publish()
            def m3 = mavenRepo.module('test', 'test3', '1.0').publish()
            def m4 = mavenRepo.module('test', 'test4', '1.0').publish()
            def m5 = mavenRepo.module('test', 'test5', '1.0')
                .dependsOn(m1, scope: 'compile')
                .dependsOn(m2, scope: 'runtime')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolvedConfigurationIntegrationTest.groovy

                    }
                }
            """
    
            m1.allowAll()
            m2.allowAll()
            m3.pom.expectGetUnauthorized()
            m4.pom.expectGet()
            m4.artifact.expectGetUnauthorized()
    
            expect:
            //TODO: fix dependency resolution results usage in this test and remove this flag
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. src/hash/maphash/maphash_purego.go

    }
    
    // This is a port of wyhash implementation in runtime/hash64.go,
    // without using unsafe for purego.
    
    const (
    	m1 = 0xa0761d6478bd642f
    	m2 = 0xe7037ed1a0b428db
    	m3 = 0x8ebc6af09c88c6e3
    	m4 = 0x589965cc75374cc3
    	m5 = 0x1d8e4e27c47d124f
    )
    
    func wyhash(key []byte, seed, len uint64) uint64 {
    	p := key
    	i := len
    	var a, b uint64
    	seed ^= m1
    
    	if i > 16 {
    		if i > 48 {
    			seed1 := seed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. test/typeparam/builtins.go

    type M2 interface {
    	map[string]int | map[string]float64
    }
    type M3 interface{ map[string]int | map[rune]int }
    type M4[K comparable, V any] interface{ map[K]V | map[rune]V }
    
    func g1[T M1](m T) {
    	delete(m, "foo")
    }
    
    func g2[T M2](m T) {
    	delete(m, "foo")
    }
    
    func g3[T M4[rune, V], V any](m T) {
    	delete(m, 'k')
    }
    
    // make
    
    func m1[
    	S1 interface{ []int },
    	S2 interface{ []int | chan int },
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 09:04:48 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/decls0.go

    func (S0) m1 (x S0.m1 /* ERROR "S0.m1 is not a type" */ ) {}
    func (S0) m2 (x *S0.m2 /* ERROR "S0.m2 is not a type" */ ) {}
    func (S0) m3 () (x S0.m3 /* ERROR "S0.m3 is not a type" */ ) { return }
    func (S0) m4 () (x *S0.m4 /* ERROR "S0.m4 is not a type" */ ) { return }
    
    // interfaces may not have any blank methods
    type BlankI interface {
    	_ /* ERROR "methods must have a unique non-blank name" */ ()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. src/internal/types/testdata/fixedbugs/issue47968.go

    func (A1[P]) m2() {}
    
    type A2 = T[int]
    
    func (A2 /* ERRORx `cannot define new methods on instantiated type (T\[int\]|A2)` */) m3()   {}
    func (_ /* ERRORx `cannot define new methods on instantiated type (T\[int\]|A2)` */ A2) m4() {}
    
    func (T[int]) m5()                                     {} // int is the type parameter name, not an instantiation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 684 bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/resources/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleMetadataSerializerTest/gradle/module-with-constraints.module

            {
                "attributes": { "usage": "runtime", "packaging": "zip" },
                "dependencyConstraints": [
                    { "module": "m3", "group": "g3", "version": { "prefers": "v3" }},
                    { "module": "m4", "version": { "requires": "v4", "strictly": "v4a", "rejects": ["v5"] }, "group": "g4"},
                    { "module": "m5", "version": { "prefers": "v5", "rejects": ["v6", "v7"] }, "group": "g5"},
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top