Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for getp2 (0.05 sec)

  1. src/cmd/link/internal/ld/macho.go

    	var linkeditSeg, textSeg *macho.Segment
    	loadOff := int64(machoHeaderSize64)
    	get32 := mf.ByteOrder.Uint32
    	for _, l := range mf.Loads {
    		data := l.Raw()
    		cmd, sz := get32(data), get32(data[4:])
    		if cmd == LC_CODE_SIGNATURE {
    			sigOff = int64(get32(data[8:]))
    			sigSz = int64(get32(data[12:]))
    			csCmdOff = loadOff
    		}
    		if seg, ok := l.(*macho.Segment); ok {
    			switch seg.Name {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  2. test/chan/powser2.go

    		case it = <-dat[0]:
    			out[0] = it
    			dat[0] = nil
    		case it = <-dat[1]:
    			out[1] = it
    			dat[1] = nil
    		}
    	}
    	return out
    }
    
    // Get one item from each of 2 demand channels
    
    func get2(in0 *dch, in1 *dch) []item {
    	return getn([]*dch{in0, in1})
    }
    
    func copy(in *dch, out *dch) {
    	for {
    		<-out.req
    		out.dat <- get(in)
    	}
    }
    
    func repeat(dat item, out *dch) {
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 25 22:22:20 UTC 2020
    - 13.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/cache/prog.go

    	writeMu sync.Mutex
    }
    
    // ProgCmd is a command that can be issued to a child process.
    //
    // If the interface needs to grow, we can add new commands or new versioned
    // commands like "get2".
    type ProgCmd string
    
    const (
    	cmdGet   = ProgCmd("get")
    	cmdPut   = ProgCmd("put")
    	cmdClose = ProgCmd("close")
    )
    
    // ProgRequest is the JSON-encoded message that's sent from cmd/go to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 19:23:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/inl_test.go

    			"(*mspan).base",
    			"(*mspan).markBitsForBase",
    			"(*mspan).markBitsForIndex",
    			"(*mspan).writeUserArenaHeapBits",
    			"(*muintptr).set",
    			"(*puintptr).set",
    			"(*wbBuf).get1",
    			"(*wbBuf).get2",
    
    			// Trace-related ones.
    			"traceLocker.ok",
    			"traceEnabled",
    		},
    		"runtime/internal/sys": {},
    		"runtime/internal/math": {
    			"MulUintptr",
    		},
    		"bytes": {
    			"(*Buffer).Bytes",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    	// Check pv cache
    	pvCache := env.internalBinder.pvCache
    	for _, b := range bindings {
    		pv, err := pvCache.GetPV(b.pv.Name)
    		if err != nil {
    			t.Errorf("GetPV %q returned error: %v", b.pv.Name, err)
    			continue
    		}
    		if pv.Spec.ClaimRef == nil {
    			t.Errorf("PV %q ClaimRef is nil", b.pv.Name)
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/debug.go

    	getPC := debugInfo.GetPC
    
    	if ctxt.UseBASEntries {
    		listSym.WriteInt(ctxt, listSym.Size, ctxt.Arch.PtrSize, ^0)
    		listSym.WriteAddr(ctxt, listSym.Size, ctxt.Arch.PtrSize, startPC, 0)
    	}
    
    	// Re-read list, translating its address from block/value ID to PC.
    	for i := 0; i < len(list); {
    		begin := getPC(decodeValue(ctxt, readPtr(ctxt, list[i:])))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/volumebinding/binder.go

    	if len(boundClaims) == 0 {
    		return
    	}
    
    	var errs []error
    	for _, pvc := range boundClaims {
    		pvName := pvc.Spec.VolumeName
    		pv, err := b.pvCache.GetPV(pvName)
    		if err != nil {
    			errs = append(errs, err)
    			continue
    		}
    
    		// if the PersistentVolume is local and has node affinity matching specific node(s),
    		// add them to the eligible nodes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CallTest.kt

        assertThat(get1.requestLine).isEqualTo("GET http://android.com/foo HTTP/1.1")
        assertThat(get1.headers["Proxy-Authorization"]).isNull()
        val get2 = server.takeRequest()
        assertThat(get2.requestLine).isEqualTo("GET http://android.com/foo HTTP/1.1")
        assertThat(get2.headers["Proxy-Authorization"]).isEqualTo("password")
      }
    
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  9. src/runtime/mbitmap.go

    		for {
    			var addr uintptr
    			if tp, addr = tp.next(dst + size); addr == 0 {
    				break
    			}
    			dstx := (*uintptr)(unsafe.Pointer(addr))
    			srcx := (*uintptr)(unsafe.Pointer(src + (addr - dst)))
    			p := buf.get2()
    			p[0] = *dstx
    			p[1] = *srcx
    		}
    	}
    }
    
    // bulkBarrierPreWriteSrcOnly is like bulkBarrierPreWrite but
    // does not execute write barriers for [dst, dst+size).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssagen/ssa.go

    		// lists. At the moment, Prog.Pc is a sequence number; it's not a real PC
    		// until after assembly, so the translation needs to be deferred.
    		debugInfo.GetPC = func(b, v ssa.ID) int64 {
    			switch v {
    			case ssa.BlockStart.ID:
    				if b == f.Entry.ID {
    					return 0 // Start at the very beginning, at the assembler-generated prologue.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top