Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 205 for DUP (0.02 sec)

  1. src/internal/poll/fd_wasip1.go

    package poll
    
    import (
    	"internal/byteorder"
    	"sync/atomic"
    	"syscall"
    	"unsafe"
    )
    
    type SysFile struct {
    	// RefCountPtr is a pointer to the reference count of Sysfd.
    	//
    	// WASI preview 1 lacks a dup(2) system call. When the os and net packages
    	// need to share a file/socket, instead of duplicating the underlying file
    	// descriptor, we instead provide a way to copy FD instances and manage the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/GeneratePluginSpecBuilderAccessors.kt

    import org.gradle.kotlin.dsl.provider.kotlinScriptClassPathProviderOf
    import org.gradle.kotlin.dsl.support.bytecode.ALOAD
    import org.gradle.kotlin.dsl.support.bytecode.ARETURN
    import org.gradle.kotlin.dsl.support.bytecode.DUP
    import org.gradle.kotlin.dsl.support.bytecode.GETFIELD
    import org.gradle.kotlin.dsl.support.bytecode.INVOKEINTERFACE
    import org.gradle.kotlin.dsl.support.bytecode.INVOKESPECIAL
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  3. src/internal/trace/mud_test.go

    					t.Errorf("inverse(%g) = %g, not ∈ [%g, %g)", trackMass, inv, l, u)
    				}
    			}
    		}
    	}
    }
    
    // aeq returns true if x and y are equal up to 8 digits (1 part in 100
    // million).
    // TODO(amedee) dup of gc_test.go
    func aeq(x, y float64) bool {
    	if x < 0 && y < 0 {
    		x, y = -x, -y
    	}
    	const digits = 8
    	factor := 1 - math.Pow(10, -digits+1)
    	return x*factor <= y && y*factor <= x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/runtime/debug/stack.go

    		// to a full pipe buffer don't get lost.
    		fd2, _, err := poll.DupCloseOnExec(int(f.Fd()))
    		if err != nil {
    			return err
    		}
    		runtime.KeepAlive(f) // prevent finalization before dup
    		fd = uintptr(fd2)
    	}
    	if prev := runtime_setCrashFD(fd); prev != ^uintptr(0) {
    		// We use NewFile+Close because it is portable
    		// unlike syscall.Close, whose parameter type varies.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/syscall/exec_plan9.go

    // name of the directory containing names and control files for all open file descriptors
    var dupdev, _ = BytePtrFromString("#d")
    
    // forkAndExecInChild forks the process, calling dup onto 0..len(fd)
    // and finally invoking exec(argv0, argvv, envv) in the child.
    // If a dup or exec fails, it writes the error string to pipe.
    // (The pipe write end is close-on-exec so if exec succeeds, it will be closed.)
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modget/query.go

    // multiple concurrent calls will result in the sets being added in
    // nondeterministic order.
    func (q *query) pathOnce(path string, f func() pathSet) {
    	if _, dup := q.pathSeen.LoadOrStore(path, nil); dup {
    		return
    	}
    
    	cs := f()
    
    	if len(cs.pkgMods) > 0 || cs.mod != (module.Version{}) || cs.err != nil {
    		cs.path = path
    		q.candidatesMu.Lock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 15:48:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-asm/src/main/java/org/gradle/model/internal/asm/MethodVisitorScope.java

    import static org.objectweb.asm.Opcodes.ARETURN;
    import static org.objectweb.asm.Opcodes.ASTORE;
    import static org.objectweb.asm.Opcodes.CHECKCAST;
    import static org.objectweb.asm.Opcodes.DUP;
    import static org.objectweb.asm.Opcodes.F_SAME;
    import static org.objectweb.asm.Opcodes.GETFIELD;
    import static org.objectweb.asm.Opcodes.GETSTATIC;
    import static org.objectweb.asm.Opcodes.GOTO;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 15:31:29 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ResidualProgramCompiler.kt

    import org.gradle.kotlin.dsl.support.bytecode.ARETURN
    import org.gradle.kotlin.dsl.support.bytecode.ASTORE
    import org.gradle.kotlin.dsl.support.bytecode.CHECKCAST
    import org.gradle.kotlin.dsl.support.bytecode.DUP
    import org.gradle.kotlin.dsl.support.bytecode.GETSTATIC
    import org.gradle.kotlin.dsl.support.bytecode.ICONST_0
    import org.gradle.kotlin.dsl.support.bytecode.INVOKEINTERFACE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:45 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. src/encoding/gob/type.go

    	// Store the name and type provided by the user....
    	if t, dup := nameToConcreteType.LoadOrStore(name, reflect.TypeOf(value)); dup && t != ut.user {
    		panic(fmt.Sprintf("gob: registering duplicate types for %q: %s != %s", name, t, ut.user))
    	}
    
    	// but the flattened type in the type table, since that's what decode needs.
    	if n, dup := concreteTypeToName.LoadOrStore(ut.base, name); dup && n != name {
    		nameToConcreteType.Delete(name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  10. pkg/api/service/util_test.go

    	if len(cidrs) != 1 {
    		t.Errorf("Expected exactly one CIDR: %v", cidrs.StringSlice())
    	}
    	cidrs = checkOK("192.168.0.1/32,192.168.0.1/32")
    	if len(cidrs) != 1 {
    		t.Errorf("Expected exactly one CIDR (after de-dup): %v", cidrs.StringSlice())
    	}
    	cidrs = checkOK("192.168.0.1/32,192.168.0.2/32")
    	if len(cidrs) != 2 {
    		t.Errorf("Expected two CIDRs: %v", cidrs.StringSlice())
    	}
    	cidrs = checkOK("  192.168.0.1/32 , 192.168.0.2/32   ")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 15:18:45 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top