Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for getMid (0.42 sec)

  1. src/cmd/go/testdata/script/test_fuzz_non_crash_signal.txt

    )
    
    func FuzzNonCrash(f *testing.F) {
    	f.Fuzz(func(*testing.T, bool) {
    		pid := syscall.Getpid()
    		if err := syscall.Kill(pid, syscall.SIGTERM); err != nil {
    			panic(err)
    		}
    		// signal may not be received immediately. Wait for it.
    		select{}
    	})
    }
    
    func FuzzKill(f *testing.F) {
    	f.Fuzz(func(*testing.T, bool) {
    		pid := syscall.Getpid()
    		if err := syscall.Kill(pid, syscall.SIGKILL); err != nil {
    			panic(err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_fuzz_fuzztime.txt

    func FuzzFast(f *testing.F) {
    	f.Fuzz(func (*testing.T, []byte) {})
    }
    -- fuzz_count_test.go --
    package fuzz
    
    import (
    	"fmt"
    	"os"
    	"testing"
    )
    
    func FuzzTestCount(f *testing.F) {
    	pid := os.Getpid()
    	n := 0
    	f.Fuzz(func(t *testing.T, _ []byte) {
    		name := fmt.Sprintf("count/%v.%d", pid, n)
    		if err := os.WriteFile(name, nil, 0666); err != nil {
    			t.Fatal(err)
    		}
    		n++
    	})
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 20:09:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Identities.kt

    import it.unimi.dsi.fastutil.objects.ReferenceOpenHashSet
    import java.util.IdentityHashMap
    
    
    class WriteIdentities {
    
        private
        val instanceIds = IdentityHashMap<Any, Int>()
    
        fun getId(instance: Any) = instanceIds[instance]
    
        fun putInstance(instance: Any): Int {
            val id = instanceIds.size
            instanceIds[instance] = id
            return id
        }
    }
    
    
    class ReadIdentities {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 20:48:51 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/ClientModuleDelegate.kt

            delegate.capabilities(configureAction)
    
        override fun version(configureAction: Action<in MutableVersionConstraint>) =
            delegate.version(configureAction)
    
        override fun getId(): String =
            delegate.id
    
        override fun getTargetConfiguration(): String? =
            delegate.targetConfiguration
    
        override fun copy(): org.gradle.api.artifacts.ClientModule =
            delegate.copy()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. integration-tests/gradle/build.gradle.kts

            withCapability("com.google.collections:google-collections") {
              candidates
                .find {
                  val idField =
                    it.javaClass.getDeclaredMethod(
                      "getId"
                    ) // reflective access to make this compile with Gradle 5
                  (idField.invoke(it) as ModuleComponentIdentifier).module == "guava"
                }
                ?.apply { select(this) }
            }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 03 20:33:34 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Codec.kt

    
    inline fun <T : Any> WriteContext.encodePreservingIdentityOf(identities: WriteIdentities, reference: T, encode: WriteContext.(T) -> Unit) {
        val id = identities.getId(reference)
        if (id != null) {
            writeSmallInt(id)
        } else {
            val newId = identities.putInstance(reference)
            writeSmallInt(newId)
            circularReferences.enter(reference)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. api/go1.20.txt

    pkg syscall (freebsd-riscv64), func Getpgid(int) (int, error) #53466
    pkg syscall (freebsd-riscv64), func Getpgrp() int #53466
    pkg syscall (freebsd-riscv64), func Getpriority(int, int) (int, error) #53466
    pkg syscall (freebsd-riscv64), func Getrlimit(int, *Rlimit) error #53466
    pkg syscall (freebsd-riscv64), func Getrusage(int, *Rusage) error #53466
    pkg syscall (freebsd-riscv64), func Getsid(int) (int, error) #53466
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/DefaultClassEncoder.kt

    ) : ClassEncoder {
    
        private
        val classes = WriteIdentities()
    
        private
        val scopes = WriteIdentities()
    
        override fun WriteContext.encodeClass(type: Class<*>) {
            val id = classes.getId(type)
            if (id != null) {
                writeSmallInt(id)
            } else {
                val scope = scopeLookup.scopeFor(type.classLoader)
                val newId = classes.putInstance(type)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblems.kt

        fun ProblemSeverity.toProblemSeverity() = when {
            this == ProblemSeverity.Suppressed -> Severity.ADVICE
            isFailOnProblems -> Severity.ERROR
            else -> Severity.WARNING
        }
    
        override fun getId(): String {
            return "configuration-cache"
        }
    
        fun queryFailure(summary: Summary = summarizer.get(), htmlReportFile: File? = null): Throwable? {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test2json_interrupt.txt

    )
    
    func FuzzInterrupt(f *testing.F) {
    	pids := os.Getenv("GO_TEST_INTERRUPT_PIDS")
    	if pids == "" {
    		// This is the main test process.
    		// Set the environment variable for fuzz workers.
    		pid := os.Getpid()
    		ppid := os.Getppid()
    		os.Setenv("GO_TEST_INTERRUPT_PIDS", fmt.Sprintf("%d,%d", ppid, pid))
    	}
    
    	sentInterrupt := false
    	f.Fuzz(func(t *testing.T, orig string) {
    		if !sentInterrupt {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 08 03:52:44 UTC 2022
    - 1.7K bytes
    - Viewed (0)
Back to top