Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for tostr (0.26 sec)

  1. src/cmd/compile/internal/typecheck/const.go

    	case constant.Bool:
    		if t.IsBoolean() {
    			return v
    		}
    
    	case constant.String:
    		if t.IsString() {
    			return v
    		}
    
    	case constant.Int:
    		if explicit && t.IsString() {
    			return tostr(v)
    		}
    		fallthrough
    	case constant.Float, constant.Complex:
    		switch {
    		case t.IsInteger():
    			v = toint(v)
    			return v
    		case t.IsFloat():
    			v = toflt(v)
    			v = truncfltlit(v, t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  2. src/runtime/slice.go

    		racewriterangepc(toPtr, size, callerpc, pc)
    	}
    	if msanenabled {
    		msanread(fromPtr, size)
    		msanwrite(toPtr, size)
    	}
    	if asanenabled {
    		asanread(fromPtr, size)
    		asanwrite(toPtr, size)
    	}
    
    	if size == 1 { // common case worth about 2x to do here
    		// TODO: is this still worth it with new memmove impl?
    		*(*byte)(toPtr) = *(*byte)(fromPtr) // known to be a byte pointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. src/archive/tar/format.go

    		// Do nothing.
    	case format.has(FormatGNU):
    		copy(b.toGNU().magic(), magicGNU)
    		copy(b.toGNU().version(), versionGNU)
    	case format.has(formatSTAR):
    		copy(b.toSTAR().magic(), magicUSTAR)
    		copy(b.toSTAR().version(), versionUSTAR)
    		copy(b.toSTAR().trailer(), trailerSTAR)
    	case format.has(FormatUSTAR | FormatPAX):
    		copy(b.toUSTAR().magic(), magicUSTAR)
    		copy(b.toUSTAR().version(), versionUSTAR)
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exec/Crawler.java

                final String toStrs = fessConfig.getNotificationTo();
                final Postbox postbox = ComponentUtil.getComponent(Postbox.class);
                try {
                    final String[] toAddresses;
                    if (StringUtil.isNotBlank(toStrs)) {
                        toAddresses = toStrs.split(",");
                    } else {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  5. src/go/doc/testdata/testing.go

    	stopAlarm()
    	RunBenchmarks(matchString, benchmarks)
    	after()
    }
    
    func (t *T) report() {
    	tstr := fmt.Sprintf("(%.2f seconds)", t.duration.Seconds())
    	format := "--- %s: %s %s\n%s"
    	if t.failed {
    		fmt.Printf(format, "FAIL", t.name, tstr, t.output)
    	} else if *chatty {
    		fmt.Printf(format, "PASS", t.name, tstr, t.output)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  6. src/runtime/lockrank.go

    	lockRankForcegc:         "forcegc",
    	lockRankDefer:           "defer",
    	lockRankSweepWaiters:    "sweepWaiters",
    	lockRankAssistQueue:     "assistQueue",
    	lockRankSweep:           "sweep",
    	lockRankTestR:           "testR",
    	lockRankTestW:           "testW",
    	lockRankTimerSend:       "timerSend",
    	lockRankAllocmW:         "allocmW",
    	lockRankExecW:           "execW",
    	lockRankCpuprof:         "cpuprof",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. src/regexp/exec_test.go

    			// Process a single pair.  - means no submatch.
    			pair := res[i:j]
    			if pair == "-" {
    				out[n] = -1
    				out[n+1] = -1
    			} else {
    				loStr, hiStr, _ := strings.Cut(pair, "-")
    				lo, err1 := strconv.Atoi(loStr)
    				hi, err2 := strconv.Atoi(hiStr)
    				if err1 != nil || err2 != nil || lo > hi {
    					t.Fatalf("%s:%d: invalid pair %s", file, lineno, pair)
    				}
    				out[n] = lo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/plan9x.go

    		} else {
    			base = fmt.Sprintf("(R%d)", regno)
    		}
    		if a.imm != 0 && a.Mode != AddrPostReg {
    			off = fmt.Sprintf("%d", a.imm)
    		} else if a.Mode == AddrPostReg {
    			postR := fmt.Sprintf("(R%d)", a.imm)
    			return base + postR
    		}
    		return off + base
    
    	case MemExtend:
    		base := ""
    		index := ""
    		regno := uint16(a.Base) & 31
    		if regno == 31 {
    			base = "(RSP)"
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 17K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/inst.go

    	case AddrPreIndex:
    		return fmt.Sprintf("[%s,%s]!", R, X)
    	case AddrPostIndex:
    		return fmt.Sprintf("[%s],%s", R, X)
    	case AddrPostReg:
    		post := Reg(X0) + Reg(m.imm)
    		postR := post.String()
    		return fmt.Sprintf("[%s], %s", R, postR)
    	}
    	return fmt.Sprintf("unimplemented!")
    }
    
    // A MemExtend is a memory reference made up of a base R and index expression X.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  10. src/runtime/pprof/proto.go

    		line = bytes.TrimLeft(line, " ")
    		return f
    	}
    
    	for len(data) > 0 {
    		line, data, _ = bytes.Cut(data, newline)
    		addr := next()
    		loStr, hiStr, ok := strings.Cut(string(addr), "-")
    		if !ok {
    			continue
    		}
    		lo, err := strconv.ParseUint(loStr, 16, 64)
    		if err != nil {
    			continue
    		}
    		hi, err := strconv.ParseUint(hiStr, 16, 64)
    		if err != nil {
    			continue
    		}
    		perm := next()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
Back to top