Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for M4 (0.02 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. src/internal/types/testdata/fixedbugs/issue50755.go

    // M3's constraint is named.
    type Map3 map[string]int
    
    func f3[M3 Map3](m3 M3) {
    	f1(m3)
    }
    
    // The core type of M5 unifies with the core type of M4
    // during constraint type inference.
    func f4[M4 map[K4]int, K4 comparable](m4 M4) {}
    
    func f5[M5 map[K5]int, K5 comparable](m5 M5) {
    	f4(m5)
    }
    
    // test case from issue
    
    func Copy[MC ~map[KC]VC, KC comparable, VC any](dst, src MC) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 1K bytes
    - Viewed (0)
  5. test/typeparam/issue48191.go

    		i16_0 = <-ch6 / i16_0 & <-ch6
    		i = (i1^i|i2|i2)/i + i
    		m6 = m4
    		am3 = am3
    		m1[G2(869.6) == G2(i2)] = m2[func(float64, rune) byte {
    			return func(G3, byte) byte {
    				return byte(42)
    			}(G3("8iDnlygG194xl"), byte(89))
    		}(*pf2, '\u9cf4')/m1[func(G3, float64) bool {
    			return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  6. 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)
  7. src/internal/types/testdata/check/decls2/decls2b.go

    type T7 struct {}
    
    func (T7) m1() {}
    func ((T7)) m2() {}
    func ((*T7)) m3() {}
    func (x *(T7),) m4() {}
    func (x (*(T7)),) m5() {}
    func (x ((*((T7)))),) m6() {}
    
    // Check that methods with parenthesized receiver are actually present (issue #23130).
    var (
    	_ = T7.m1
    	_ = T7.m2
    	_ = (*T7).m3
    	_ = (*T7).m4
    	_ = (*T7).m5
    	_ = (*T7).m6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. 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)
  9. test/indirect1.go

    // Does not compile.
    
    package main
    
    var m0 map[string]int
    var m1 *map[string]int
    var m2 *map[string]int = &m0
    var m3 map[string]int = map[string]int{"a": 1}
    var m4 *map[string]int = &m3
    
    var s0 string
    var s1 *string
    var s2 *string = &s0
    var s3 string = "a"
    var s4 *string = &s3
    
    var a0 [10]int
    var a1 *[10]int
    var a2 *[10]int = &a0
    
    var b0 []int
    var b1 *[]int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 07:47:26 UTC 2012
    - 1.5K bytes
    - Viewed (0)
  10. 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)
Back to top