Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 92 for raceinit (0.21 sec)

  1. src/runtime/rand.go

    	lock  mutex
    	seed  [32]byte
    	state chacha8rand.State
    	init  bool
    }
    
    var readRandomFailed bool
    
    // randinit initializes the global random state.
    // It must be called before any use of grand.
    func randinit() {
    	lock(&globalRand.lock)
    	if globalRand.init {
    		fatal("randinit twice")
    	}
    
    	seed := &globalRand.seed
    	if startupRand != nil {
    		for i, c := range startupRand {
    			seed[i%len(seed)] ^= c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 14:32:47 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/android-kotlin-example-kotlin-dsl/app/src/test/kotlin/org/gradle/smoketest/kotlin/android/StringPrinterTest.kt

    package org.gradle.smoketest.kotlin.android
    
    import org.junit.Before
    import org.junit.Test
    
    class StringPrinterTest {
    
        lateinit private var stringPrinter: StringPrinterFragment
    
        @Before fun setUp() {
            stringPrinter = StringPrinterFragment()
        }
    
        @Test fun shouldPrintStringLength() {
            stringPrinter.printStringLength("Hello world!")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 369 bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/sys/cpu/cpu_other_arm.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !linux && arm
    
    package cpu
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 218 bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/sys/cpu/cpu_other_mips64x.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !linux && (mips64 || mips64le)
    
    package cpu
    
    func archInit() {
    	Initialized = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 256 bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/sys/cpu/cpu_other_ppc64x.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !aix && !linux && (ppc64 || ppc64le)
    
    package cpu
    
    func archInit() {
    	PPC64.IsPOWER8 = true
    	Initialized = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 285 bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/TestSchema.kt

    package org.gradle.internal.declarativedsl.analysis
    
    import org.gradle.declarative.dsl.model.annotations.Adding
    import org.gradle.declarative.dsl.model.annotations.Restricted
    
    
    class MyClass {
        @get:Restricted
        lateinit var my: MyClass
    }
    
    
    class TopLevel {
        @Adding
        fun my1(): MyClass = MyClass()
    
        @Adding
        fun my2(): MyClass = MyClass()
    
        @Adding
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 443 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/configurationCache/disallowedTypes/kotlin/build.gradle.kts

    plugins {
        java
    }
    
    // tag::task-type[]
    abstract class SomeTask : DefaultTask() {
    
        @get:Input lateinit var sourceSet: SourceSet // <1>
    
        @TaskAction
        fun action() {
            val classpathFiles = sourceSet.compileClasspath.files
            // ...
        }
    }
    // end::task-type[]
    
    tasks.register<SomeTask>("someTaskType") {
        sourceSet = sourceSets.main.get()
    }
    
    // tag::ad-hoc-task[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 542 bytes
    - Viewed (0)
  8. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/android-kotlin-example-kotlin-dsl/app/build.gradle.kts

            .takeIf { it.isNotEmpty() }
            ?: listOf("")
        productFlavors.forEach { productFlavorName ->
            buildTypes.forEach { buildTypeName ->
                lateinit var sourceName: String
                lateinit var sourcePath: String
                if (productFlavorName.isNotEmpty()) {
                    sourceName = buildTypeName
                    sourcePath = sourceName
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/sys/cpu/cpu_linux.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !386 && !amd64 && !amd64p32 && !arm64
    
    package cpu
    
    func archInit() {
    	if err := readHWCAP(); err != nil {
    		return
    	}
    	doinit()
    	Initialized = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 322 bytes
    - Viewed (0)
  10. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

      // We should test MockWebServer later.
      @Container
      val mockServer: MockServerContainer = MockServerContainer(MOCKSERVER_IMAGE)
    
      val capturedOut = ByteArrayOutputStream()
    
      private lateinit var executor: ExecutorService
    
      private lateinit var client: OkHttpClient
    
      @BeforeEach
      fun setUp() {
        platform.assumeLoom()
        assertThat(System.getProperty("jdk.tracePinnedThreads")).isNotEmpty()
    
        client =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 11:15:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top