Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 76 for DUP (0.07 sec)

  1. src/cmd/cgo/internal/testplugin/plugin_test.go

    	goCmd(nil, "build", "-buildmode=plugin", "./plugin2")
    	so, err := os.ReadFile("plugin2.so")
    	if err != nil {
    		log.Panic(err)
    	}
    	if err := os.WriteFile("plugin2-dup.so", so, 0444); err != nil {
    		log.Panic(err)
    	}
    	prettyPrintf("cp plugin2.so plugin2-dup.so\n")
    
    	goCmd(nil, "build", "-buildmode=plugin", "-o=sub/plugin1.so", "./sub/plugin1")
    	goCmd(nil, "build", "-buildmode=plugin", "-o=unnamed1.so", "./unnamed1/main.go")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/mvs/mvs.go

    	upgradeTo := make(map[string]string, len(upgrade))
    	for _, u := range upgrade {
    		if !pathInList[u.Path] {
    			list = append(list, module.Version{Path: u.Path, Version: "none"})
    		}
    		if prev, dup := upgradeTo[u.Path]; dup {
    			upgradeTo[u.Path] = reqs.Max(u.Path, prev, u.Version)
    		} else {
    			upgradeTo[u.Path] = u.Version
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 21:58:12 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. src/net/fd_windows.go

    	lsa, _ := lrsa.Sockaddr()
    	rsa, _ := rrsa.Sockaddr()
    
    	netfd.setAddr(netfd.addrFunc()(lsa), netfd.addrFunc()(rsa))
    	return netfd, nil
    }
    
    // Unimplemented functions.
    
    func (fd *netFD) dup() (*os.File, error) {
    	// TODO: Implement this, perhaps using internal/poll.DupCloseOnExec.
    	return nil, syscall.EWINDOWS
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 16:46:10 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyXmlModuleDescriptorParser.java

                LinkedHashMap<String, String> dup = new LinkedHashMap<>(inherited.size() + overrides.size());
                dup.putAll(inherited);
                dup.putAll(overrides);
                return dup;
            }
    
            private void mergeConfigurations(ModuleRevisionId sourceMrid, Configuration[] configurations) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 65K bytes
    - Viewed (0)
  5. src/net/tcpsock_posix.go

    }
    
    func (ln *TCPListener) close() error {
    	return ln.fd.Close()
    }
    
    func (ln *TCPListener) file() (*os.File, error) {
    	f, err := ln.fd.dup()
    	if err != nil {
    		return nil, err
    	}
    	return f, nil
    }
    
    func (sl *sysListener) listenTCP(ctx context.Context, laddr *TCPAddr) (*TCPListener, error) {
    	return sl.listenTCPProto(ctx, laddr, 0)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. src/internal/poll/fd_unix.go

    			// now on.
    			dupCloexecUnsupported.Store(true)
    		default:
    			return -1, "fcntl", err
    		}
    	}
    	return dupCloseOnExecOld(fd)
    }
    
    // Dup duplicates the file descriptor.
    func (fd *FD) Dup() (int, string, error) {
    	if err := fd.incref(); err != nil {
    		return -1, "", err
    	}
    	defer fd.decref()
    	return DupCloseOnExec(fd.Sysfd)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 04:09:44 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. src/net/unixsock_posix.go

    	ln.unlinkOnce.Do(func() {
    		if ln.path[0] != '@' && ln.unlink {
    			syscall.Unlink(ln.path)
    		}
    	})
    	return ln.fd.Close()
    }
    
    func (ln *UnixListener) file() (*os.File, error) {
    	f, err := ln.fd.dup()
    	if err != nil {
    		return nil, err
    	}
    	return f, nil
    }
    
    // SetUnlinkOnClose sets whether the underlying socket file should be removed
    // from the file system when the listener is closed.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. pkg/controlplane/controller/crdregistration/crdregistration_controller.go

    	apiServiceRegistration AutoAPIServiceRegistration
    
    	syncHandler func(groupVersion schema.GroupVersion) error
    
    	syncedInitialSet chan struct{}
    
    	// queue is where incoming work is placed to de-dup and to allow "easy" rate limited requeues on errors
    	// this is actually keyed by a groupVersion
    	queue workqueue.TypedRateLimitingInterface[schema.GroupVersion]
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. src/syscall/exec_unix.go

    //     so use ForkLock.
    //   - [Socket]. Use SOCK_CLOEXEC if available. Otherwise, does not
    //     block, so use ForkLock.
    //   - [Open]. Use [O_CLOEXEC] if available. Otherwise, may block,
    //     so live with the race.
    //   - [Dup]. Use [F_DUPFD_CLOEXEC] or dup3 if available. Otherwise,
    //     does not block, so use ForkLock.
    var ForkLock sync.RWMutex
    
    // StringSlicePtr converts a slice of strings to a slice of pointers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. src/net/rpc/server.go

    		} else {
    			str = "rpc.Register: type " + sname + " has no exported methods of suitable type"
    		}
    		log.Print(str)
    		return errors.New(str)
    	}
    
    	if _, dup := server.serviceMap.LoadOrStore(sname, s); dup {
    		return errors.New("rpc: service already defined: " + sname)
    	}
    	return nil
    }
    
    // suitableMethods returns suitable Rpc methods of typ. It will log
    // errors if logErr is true.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top