Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 683 for Off (0.04 sec)

  1. src/strings/reader_test.go

    	r := strings.NewReader("0123456789")
    	tests := []struct {
    		off     int64
    		seek    int
    		n       int
    		want    string
    		wantpos int64
    		readerr error
    		seekerr string
    	}{
    		{seek: io.SeekStart, off: 0, n: 20, want: "0123456789"},
    		{seek: io.SeekStart, off: 1, n: 1, want: "1"},
    		{seek: io.SeekCurrent, off: 1, wantpos: 3, n: 2, want: "34"},
    		{seek: io.SeekStart, off: -1, seekerr: "strings.Reader.Seek: negative position"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  2. src/debug/dwarf/buf.go

    	return 0
    }
    
    func makeBuf(d *Data, format dataFormat, name string, off Offset, data []byte) buf {
    	return buf{d, d.order, format, name, off, data, nil}
    }
    
    func (b *buf) uint8() uint8 {
    	if len(b.data) < 1 {
    		b.error("underflow")
    		return 0
    	}
    	val := b.data[0]
    	b.data = b.data[1:]
    	b.off++
    	return val
    }
    
    func (b *buf) bytes(n int) []byte {
    	if n < 0 || len(b.data) < n {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 21 17:14:08 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/ar.go

    			sname := ctxt.loader.SymName(symIdx)
    			if off := armap[sname]; off != 0 && !loaded[off] {
    				load = append(load, off)
    				loaded[off] = true
    				if ctxt.Debugvlog > 1 {
    					ctxt.Logf("hostArchive(%s): selecting object at offset %x to resolve %s [%d] reference from %s [%d]\n", name, off, sname, symIdx, ctxt.loader.SymName(froms[k]), froms[k])
    				}
    			}
    		}
    
    		for _, off := range load {
    			l := nextar(f, int64(off), &arhdr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 19 23:11:11 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/work_env.txt

    stdout '^(set )?GOWORK=''?'$GOPATH'[\\/]src[\\/]go.work''?$'
    
    cd ..
    go env GOWORK
    ! stdout .
    go env
    stdout 'GOWORK=("")?'
    
    cd src
    go env GOWORK
    stdout 'go.work'
    
    env GOWORK='off'
    go env GOWORK
    stdout 'off'
    
    ! go env -w GOWORK=off
    stderr '^go: GOWORK cannot be modified$'
    
    -- go.work --
    go 1.18
    
    use a
    -- a/go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 05 14:28:38 UTC 2023
    - 399 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/location.go

    //	[ ------- s string ---- ] { N: s, Type: string, Off: 0 }
    //
    //	s was not decomposed, but the SSA operates on its parts individually, so
    //	there is a LocalSlot for each of its fields that points into the single stack slot.
    //	[ ------- s string ---- ] { N: s, Type: *uint8, Off: 0 }, {N: s, Type: int, Off: 8}
    //
    //	s was decomposed. Each of its fields is in its own stack slot and has its own LocalSLot.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultColorMap.java

            @Override
            public void off(Ansi ansi) {
                ansi.fg(DEFAULT);
            }
        }
    
        private static class AttributeColor implements Color {
            private final Ansi.Attribute on;
            private final Ansi.Attribute off;
    
            public AttributeColor(Attribute on, Attribute off) {
                this.on = on;
                this.off = off;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/AbstractByteHasher.java

      protected void update(byte[] b) {
        update(b, 0, b.length);
      }
    
      /** Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. */
      protected void update(byte[] b, int off, int len) {
        for (int i = off; i < off + len; i++) {
          update(b[i]);
        }
      }
    
      /** Updates this hasher with bytes from the given buffer. */
      protected void update(ByteBuffer b) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  8. src/internal/coverage/encodemeta/encode.go

    	}
    	off := int64(coverage.CovMetaHeaderSize)
    
    	// Write function offsets section
    	off = b.emitFuncOffsets(w, off)
    
    	// Check for any errors up to this point.
    	if b.werr != nil {
    		return digest, b.werr
    	}
    
    	// Write string table.
    	if err := b.stab.Write(w); err != nil {
    		return digest, err
    	}
    	off += int64(b.stab.Size())
    
    	// Write functions
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 17:16:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/riscv64/ggen.go

    )
    
    func zeroRange(pp *objw.Progs, p *obj.Prog, off, cnt int64, _ *uint32) *obj.Prog {
    	if cnt == 0 {
    		return p
    	}
    
    	// Adjust the frame to account for LR.
    	off += base.Ctxt.Arch.FixedFrameSize
    
    	if cnt < int64(4*types.PtrSize) {
    		for i := int64(0); i < cnt; i += int64(types.PtrSize) {
    			p = pp.Append(p, riscv.AMOV, obj.TYPE_REG, riscv.REG_ZERO, 0, obj.TYPE_MEM, riscv.REG_SP, off+i)
    		}
    		return p
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 19 15:59:22 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  10. internal/config/bool-flag.go

    	switch str {
    	case "1", "t", "T", "true", "TRUE", "True", "on", "ON", "On":
    		return true, nil
    	case "0", "f", "F", "false", "FALSE", "False", "off", "OFF", "Off":
    		return false, nil
    	}
    	if strings.EqualFold(str, "enabled") {
    		return true, nil
    	}
    	if strings.EqualFold(str, "disabled") {
    		return false, nil
    	}
    	return false, fmt.Errorf("ParseBool: parsing '%s': %w", str, strconv.ErrSyntax)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 07 15:10:40 UTC 2022
    - 2.3K bytes
    - Viewed (0)
Back to top