Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 205 for DUP (0.02 sec)

  1. src/net/file_plan9.go

    	if n < 3 || comp[0][0:3] != "net" {
    		return nil, syscall.EPLAN9
    	}
    
    	name := comp[2]
    	switch file := comp[n-1]; file {
    	case "ctl", "clone":
    		fd, err := syscall.Dup(int(f.Fd()), -1)
    		if err != nil {
    			return nil, os.NewSyscallError("dup", err)
    		}
    		defer close(fd)
    
    		dir := netdir + "/" + comp[n-2]
    		ctl = os.NewFile(uintptr(fd), dir+"/"+file)
    		ctl.Seek(0, io.SeekStart)
    		var buf [16]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/bytecode/AsmExtensions.kt

        visitMethodInsn(opcode, owner.value, name, desc, itf)
    }
    
    
    internal
    fun MethodVisitor.BASTORE() {
        visitInsn(Opcodes.BASTORE)
    }
    
    
    internal
    fun MethodVisitor.DUP() {
        visitInsn(Opcodes.DUP)
    }
    
    
    internal
    fun MethodVisitor.ARETURN() {
        visitInsn(Opcodes.ARETURN)
    }
    
    
    fun MethodVisitor.RETURN() {
        visitInsn(Opcodes.RETURN)
    }
    
    
    internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. src/cmd/go/scriptcmds_test.go

    		t, ok := tbFromContext(state.Context())
    		if !ok {
    			return nil, errors.New("script Context unexpectedly missing testing.TB key")
    		}
    		_, dup := scriptGoInvoked.LoadOrStore(t, true)
    		if !dup {
    			t.Cleanup(func() { scriptGoInvoked.Delete(t) })
    		}
    		return cmd.Run(state, s...)
    	})
    }
    
    // scriptStale checks that the named build targets are stale.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 18:33:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/crypto/sha3/sha3.go

    	if d.state != spongeAbsorbing {
    		panic("sha3: Sum after Read")
    	}
    
    	// Make a copy of the original hash so that caller can keep writing
    	// and summing.
    	dup := d.clone()
    	hash := make([]byte, dup.outputLen, 64) // explicit cap to allow stack allocation
    	dup.Read(hash)
    	return append(in, hash...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/MethodStubbingApiMemberAdapter.java

    import static org.objectweb.asm.Opcodes.ACC_SYNTHETIC;
    import static org.objectweb.asm.Opcodes.ARETURN;
    import static org.objectweb.asm.Opcodes.ATHROW;
    import static org.objectweb.asm.Opcodes.DUP;
    import static org.objectweb.asm.Opcodes.INVOKESPECIAL;
    import static org.objectweb.asm.Opcodes.INVOKESTATIC;
    import static org.objectweb.asm.Opcodes.NEW;
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/work.txt

    stderr '^go: -mod may only be set to readonly or vendor when in workspace mode'
    env GOWORK=off
    go list -mod=mod all
    env GOWORK=
    
    # Test that duplicates in the use list return an error
    cp go.work go.work.backup
    cp go.work.dup go.work
    ! go run example.com/b
    stderr 'go.work:6: path .* appears multiple times in workspace'
    cp go.work.backup go.work
    
    cp go.work.d go.work
    go work use # update go version
    go run example.com/d
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/syscall/exec_freebsd.go

    	_P_PID = 0
    
    	_PROC_PDEATHSIG_CTL = 11
    )
    
    // Implemented in runtime package.
    func runtime_BeforeFork()
    func runtime_AfterFork()
    func runtime_AfterForkInChild()
    
    // Fork, dup fd onto 0..len(fd), and exec(argv0, argvv, envv) in child.
    // If a dup or exec fails, write the errno error to pipe.
    // (Pipe is close-on-exec so if exec succeeds, it will be closed.)
    // In the child, this function must not acquire any locks, because
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  8. src/internal/poll/fd_plan9.go

    func (fd *FD) RawWrite(f func(uintptr) bool) error {
    	return errors.New("not implemented")
    }
    
    func DupCloseOnExec(fd int) (int, string, error) {
    	nfd, err := syscall.Dup(int(fd), -1)
    	if err != nil {
    		return 0, "dup", err
    	}
    	// Plan9 has no syscall.CloseOnExec but
    	// its forkAndExecInChild closes all fds
    	// not related to the fork+exec.
    	return nfd, "", nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/bytecode/AsmExtensions.kt

        visitMethodInsn(opcode, owner.value, name, desc, itf)
    }
    
    
    internal
    fun MethodVisitor.BASTORE() {
        visitInsn(Opcodes.BASTORE)
    }
    
    
    internal
    fun MethodVisitor.DUP() {
        visitInsn(Opcodes.DUP)
    }
    
    
    internal
    fun MethodVisitor.POP() {
        visitInsn(Opcodes.POP)
    }
    
    
    internal
    fun MethodVisitor.ARETURN() {
        visitInsn(Opcodes.ARETURN)
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. src/net/net_fake.go

    		ffd.incomingEmpty <- true
    	case syscall.SOCK_DGRAM:
    		ffd.queue = newPacketQueue(defaultBuffer)
    	default:
    		return wrapErr(syscall.EINVAL)
    	}
    
    	fd.fakeNetFD = ffd
    	if _, dup := sockets.LoadOrStore(ffd.fakeAddr, fd); dup {
    		fd.fakeNetFD = nil
    		return wrapErr(syscall.EADDRINUSE)
    	}
    
    	return nil
    }
    
    func fakeConnect(ctx context.Context, fd *netFD, laddr, raddr sockaddr) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
Back to top