Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for DUP (0.02 sec)

  1. src/image/gif/writer.go

    	// translated such that its top-left corner is (0, 0), so that the single
    	// frame completely fills the overall GIF's bounds.
    	if pm.Rect.Min != (image.Point{}) {
    		dup := *pm
    		dup.Rect = dup.Rect.Sub(dup.Rect.Min)
    		pm = &dup
    	}
    
    	return EncodeAll(w, &GIF{
    		Image: []*image.Paletted{pm},
    		Delay: []int{0},
    		Config: image.Config{
    			ColorModel: pm.Palette,
    			Width:      b.Dx(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:38:09 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/syscall/exec_linux.go

    )
    
    // 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: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top