Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for irides (0.42 sec)

  1. src/cmd/compile/internal/ssa/magic.go

    // Rearranging,
    //   2^e > x * delta * c
    // x can be at most 2^n-1 and delta can be at most 1.
    // So it is sufficient to have 2^e >= 2^n*c.
    // So we'll choose e = n + s, with s = ⎡log2(c)⎤.
    //
    // An additional complication arises because m has n+1 bits in it.
    // Hardware restricts us to n bit by n bit multiplies.
    // We divide into 3 cases:
    //
    // Case 1: m is even.
    //   ⎣x / c⎦ = ⎣x * m / 2^(n+s)⎦
    //   ⎣x / c⎦ = ⎣x * (m/2) / 2^(n+s-1)⎦
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/typestring.go

    	var buf bytes.Buffer
    	WriteType(&buf, typ, qf)
    	return buf.String()
    }
    
    // WriteType writes the string representation of typ to buf.
    // The [Qualifier] controls the printing of
    // package-level objects, and may be nil.
    func WriteType(buf *bytes.Buffer, typ Type, qf Qualifier) {
    	newTypeWriter(buf, qf).typ(typ)
    }
    
    // WriteSignature writes the representation of the signature sig to buf,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types/fmt.go

    	buf := fmtBufferPool.Get().(*bytes.Buffer)
    	buf.Reset()
    	defer fmtBufferPool.Put(buf)
    
    	tconv2(buf, t, verb, mode, nil)
    	return InternString(buf.Bytes())
    }
    
    // tconv2 writes a string representation of t to b.
    // flag and mode control exactly what is printed.
    // Any types x that are already in the visited map get printed as @%d where %d=visited[x].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 15:41:17 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modfetch/codehost/git_test.go

    	m.Run()
    	return nil
    }
    
    func testContext(t testing.TB) context.Context {
    	w := newTestWriter(t)
    	return cfg.WithBuildXWriter(context.Background(), w)
    }
    
    // A testWriter is an io.Writer that writes to a test's log.
    //
    // The writer batches written data until the last byte of a write is a newline
    // character, then flushes the batched data as a single call to Logf.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/parse.go

    	}
    	if p.errorCount > 0 {
    		return nil, false
    	}
    	p.patch()
    	return p.firstProg, true
    }
    
    // ParseSymABIs parses p's assembly code to find text symbol
    // definitions and references and writes a symabis file to w.
    func (p *Parser) ParseSymABIs(w io.Writer) bool {
    	operands := make([][]lex.Token, 0, 3)
    	for {
    		word, _, operands1, ok := p.line(operands)
    		if !ok {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/memcombine.go

    	shiftBase := getShiftBase(a)
    	if shiftBase == nil {
    		return false
    	}
    	for i := int64(0); i < n; i++ {
    		if !isShiftBase(a[i].store, shiftBase) {
    			return false
    		}
    	}
    
    	// Check for writes in little-endian or big-endian order.
    	isLittleEndian := true
    	shift0 := shift(a[0].store, shiftBase)
    	for i := int64(1); i < n; i++ {
    		if shift(a[i].store, shiftBase) != shift0+i*size*8 {
    			isLittleEndian = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/shell.go

    // even device files, for example, which is not intended.
    func mayberemovefile(s string) {
    	if fi, err := os.Lstat(s); err == nil && !fi.Mode().IsRegular() {
    		return
    	}
    	os.Remove(s)
    }
    
    // writeFile writes the text to file.
    func (sh *Shell) writeFile(file string, text []byte) error {
    	if cfg.BuildN || cfg.BuildX {
    		switch {
    		case len(text) == 0:
    			sh.ShowCmd("", "echo -n > %s # internal", file)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/x86/ssa.go

    		// Should we use the 3-byte TESTB $0, (reg) instead? It is larger
    		// but it doesn't have false dependency on AX.
    		// Or maybe allocate an output register and use MOVL (reg),reg2 ?
    		// That trades clobbering flags for clobbering a register.
    		p := s.Prog(x86.ATESTB)
    		p.From.Type = obj.TYPE_REG
    		p.From.Reg = x86.REG_AX
    		p.To.Type = obj.TYPE_MEM
    		p.To.Reg = v.Args[0].Reg()
    		ssagen.AddAux(&p.To, v)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testcarchive/carchive_test.go

    	// discarding it because it was sent by another program and
    	// there is no Go handler for it. To avoid this, run the
    	// program several times in the hopes that it will eventually
    	// fail.
    	const tries = 20
    	for i := 0; i < tries; i++ {
    		err := runSignalForwardingTest(t, "2")
    		if err == nil {
    			continue
    		}
    
    		// If the signal is delivered to a C thread, as expected,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  10. src/bufio/bufio.go

    	b.n += n
    	nn += n
    	return nn, nil
    }
    
    // WriteByte writes a single byte.
    func (b *Writer) WriteByte(c byte) error {
    	if b.err != nil {
    		return b.err
    	}
    	if b.Available() <= 0 && b.Flush() != nil {
    		return b.err
    	}
    	b.buf[b.n] = c
    	b.n++
    	return nil
    }
    
    // WriteRune writes a single Unicode code point, returning
    // the number of bytes written and any error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
Back to top