Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 112 for S1 (0.02 sec)

  1. src/internal/types/testdata/fixedbugs/issue48951.go

    type (
            A1[P any] [10]A1 /* ERROR "invalid recursive type" */ [P]
            A2[P any] [10]A2 /* ERROR "invalid recursive type" */ [*P]
            A3[P any] [10]*A3[P]
    
            L1[P any] []L1[P]
    
            S1[P any] struct{ f S1 /* ERROR "invalid recursive type" */ [P] }
            S2[P any] struct{ f S2 /* ERROR "invalid recursive type" */ [*P] } // like example in issue
            S3[P any] struct{ f *S3[P] }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 822 bytes
    - Viewed (0)
  2. src/runtime/rand.go

    	// http://simul.iro.umontreal.ca/testu01/tu01.html
    	t := (*[2]uint32)(unsafe.Pointer(&mp.cheaprand))
    	s1, s0 := t[0], t[1]
    	s1 ^= s1 << 17
    	s1 = s1 ^ s0 ^ s1>>7 ^ s0>>16
    	t[0], t[1] = s0, s1
    	return s0 + s1
    }
    
    // cheaprand64 is a non-cryptographic-quality 63-bit random generator
    // suitable for calling at very high frequency (such as during sampling decisions).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 14:32:47 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. src/internal/bytealg/equal_ppc64x.s

    	BR	memeqbody<>(SB)
    eq:
    	MOVD	$1, R3
    	RET
    
    // Do an efficient memequal for ppc64
    // R3 = s1
    // R4 = s2
    // R5 = len
    // On exit:
    // R3 = return value
    TEXT memeqbody<>(SB),NOSPLIT|NOFRAME,$0-0
    	MOVD	R3, R8		// Move s1 into R8
    	ADD	R5, R3, R9	// &s1[len(s1)]
    	ADD	R5, R4, R10	// &s2[len(s2)]
    	MOVD	$1, R11
    	CMP	R5, $16		// Use GPR checks for check for len <= 16
    	BLE	check0_16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaReceiverValue.kt

        public val expression: KtExpression by validityAsserted(expression)
    
        /**
         * Whether safe navigation is used on this receiver. For example
         * ```
         * fun test(s1: String?, s2: String) {
         *   s1?.length // explicit receiver `s1` has `isSafeNavigation = true`
         *   s2.length // explicit receiver `s2` has `isSafeNavigation = false`
         * }
         * ```
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/internal/types/testdata/check/decls1.go

    	s11 = &v
    	s12 = -(u + *t11) / *&v
    	s13 = a /* ERROR "shifted operand" */ << d
    	s14 = i << j
    	s18 = math.Pi * 10.0
    	s19 = s1 /* ERROR "cannot call" */ ()
     	s20 = f0 /* ERROR "no value" */ ()
    	s21 = f6(1, s1, i)
    	s22 = f6(1, s1, uu /* ERRORx `cannot use .* in argument` */ )
    
    	t1 int = i + j
    	t2 int = i /* ERROR "mismatched types" */ + x
    	t3 int = c /* ERRORx `cannot use .* variable declaration` */ + d
    	t4 string = s + t
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. cmd/bootstrap-peer-server.go

    	MinioEnv   map[string]string
    }
    
    // Diff - returns error on first difference found in two configs.
    func (s1 *ServerSystemConfig) Diff(s2 *ServerSystemConfig) error {
    	ns1 := s1.NEndpoints
    	ns2 := s2.NEndpoints
    	if ns1 != ns2 {
    		return fmt.Errorf("Expected number of endpoints %d, seen %d", ns1, ns2)
    	}
    
    	for i, cmdLine := range s1.CmdLines {
    		if cmdLine != s2.CmdLines[i] {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. test/typeparam/builtins.go

    }
    
    // make
    
    func m1[
    	S1 interface{ []int },
    	S2 interface{ []int | chan int },
    
    	M1 interface{ map[string]int },
    	M2 interface{ map[string]int | chan int },
    
    	C1 interface{ chan int },
    	C2 interface{ chan int | chan string },
    ]() {
    	type m1S0 []int
    	type m1M0 map[string]int
    	type m1C0 chan int
    
    	_ = make([]int, 10)
    	_ = make(m1S0, 10)
    	_ = make(S1, 10)
    	_ = make(S1, 10, 20)
    
    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. pkg/slices/slices.go

    // Floating point NaNs are not considered equal.
    func Equal[E comparable](s1, s2 []E) bool {
    	return slices.Equal(s1, s2)
    }
    
    // EqualUnordered reports whether two slices are equal, ignoring order
    func EqualUnordered[E comparable](s1, s2 []E) bool {
    	if len(s1) != len(s2) {
    		return false
    	}
    	first := make(map[E]struct{}, len(s1))
    	for _, c := range s1 {
    		first[c] = struct{}{}
    	}
    	for _, c := range s2 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ProgramParser.kt

                val stage2 = remainingSource
                    .takeIf { it.text.isNotBlank() }
                    ?.let(Program::Script)
    
                stage1?.let { s1 ->
                    stage2?.let { s2 ->
                        Program.Staged(s1, s2)
                    } ?: s1
                }
                    ?: stage2
                    ?: Program.Empty
            }
        }
    
        private
        fun rangesToErase(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleBindingValidationIntegrationTest.groovy

            buildScript """
                class Rules extends RuleSource {
                  @Model
                  String s1(Integer iDontExist) {
                    "foo"
                  }
                }
    
                pluginManager.apply Rules
            """
    
            then:
            fails "help"
            failureCauseContains("""
      Rules#s1(Integer)
        inputs:
          - <no path> Integer (parameter 1) [*]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top