Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 383 for Off (0.06 sec)

  1. src/internal/cpu/cpu_test.go

    	MustSupportFeatureDetection(t)
    	runDebugOptionsTest(t, "TestAllCapabilitiesDisabled", "cpu.all=off")
    }
    
    func TestAllCapabilitiesDisabled(t *testing.T) {
    	MustHaveDebugOptionsSupport(t)
    
    	if godebug.New("#cpu.all").Value() != "off" {
    		t.Skipf("skipping test: GODEBUG=cpu.all=off not set")
    	}
    
    	for _, o := range Options {
    		want := false
    		if got := *o.Feature; got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

          // if expected.length == 0, off has to be 0 but length doesn't matter--result will be empty
          int off = expected.length == 0 ? 0 : random.nextInt(expected.length);
          int len = expected.length == 0 ? 4 : random.nextInt(expected.length - off);
    
          ByteSourceFactory sliced = SourceSinkFactories.asSlicedByteSourceFactory(factory, off, len);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/lex_test.go

    	{
    		"LOAD macro",
    		lines(
    			"#define LOAD(off, reg) \\",
    			"\tMOVBLZX	(off*4)(R12),	reg \\",
    			"\tADDB	reg,		DX",
    			"",
    			"LOAD(8, AX)",
    		),
    		"\n.\n.MOVBLZX.(.8.*.4.).(.R12.).,.AX.\n.ADDB.AX.,.DX.\n",
    	},
    	{
    		"nested multiline macro",
    		lines(
    			"#define KEYROUND(xmm, load, off, r1, r2, index) \\",
    			"\tMOVBLZX	(BP)(DX*4),	R8 \\",
    			"\tload((off+1), r2) \\",
    			"\tMOVB	R8,		(off*4)(R12) \\",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. src/internal/saferio/io.go

    		n -= next
    	}
    	return buf, nil
    }
    
    // ReadDataAt reads n bytes from the input stream at off, but avoids
    // allocating all n bytes if n is large. This avoids crashing the program
    // by allocating all n bytes in cases where n is incorrect.
    func ReadDataAt(r io.ReaderAt, n uint64, off int64) ([]byte, error) {
    	if int64(n) < 0 || n != uint64(int(n)) {
    		// n is too large to fit in int, so we can't allocate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 00:34:05 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HashingOutputStream.java

        public void write(int b) throws IOException {
            hasher.putByte((byte) b);
            out.write(b);
        }
    
        @Override
        public void write(byte[] bytes, int off, int len) throws IOException {
            hasher.putBytes(bytes, off, len);
            out.write(bytes, off, len);
        }
    
        public HashCode hash() {
            return hasher.hash();
        }
    
        @Override
        public void close() throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/dir.go

    //
    // If Mode is "off", no data should be written to the telemetry directory, and
    // the other paths values referenced by Dir should be considered undefined.
    // This accounts for the case where initializing [Default] fails, and therefore
    // local telemetry paths are unknown.
    func (d Dir) Mode() (string, time.Time) {
    	if d.modefile == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:13:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. test/fixedbugs/issue13799.go

    	// occurs.
    
    	var fn func() // ERROR "moved to heap: fn$"
    	i := 0        // ERROR "moved to heap: i$"
    	for ; i < maxI; i++ {
    		// var fn func() // this makes it work, because fn stays off heap
    		j := 0        // ERROR "moved to heap: j$"
    		fn = func() { // ERROR "func literal escapes to heap$"
    			m[i] = append(m[i], 0)
    			if j < 25 {
    				j++
    				fn()
    			}
    		}
    		fn()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/x86/seh.go

    	ctxt *obj.Link
    	data []byte
    	off  int
    }
    
    func newsehbuf(ctxt *obj.Link, nodes uint8) sehbuf {
    	// - 8 bytes for the header
    	// - 2 bytes for each node
    	// - 2 bytes in case nodes is not even
    	size := 8 + nodes*2
    	if nodes%2 != 0 {
    		size += 2
    	}
    	return sehbuf{ctxt, make([]byte, size), 0}
    }
    
    func (b *sehbuf) write8(v uint8) {
    	b.data[b.off] = v
    	b.off++
    }
    
    func (b *sehbuf) write32(v uint32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. src/internal/xcoff/ar.go

    		return nil, err
    	}
    	if err := binary.Read(sr, binary.BigEndian, &fhdr); err != nil {
    		return nil, err
    	}
    
    	off, err := parseDecimalBytes(fhdr.Flfstmoff[:])
    	if err != nil {
    		return nil, fmt.Errorf("error parsing offset of first member in archive header(%q); %v", fhdr, err)
    	}
    
    	if off == 0 {
    		// Occurs if the archive is empty.
    		return arch, nil
    	}
    
    	lastoff, err := parseDecimalBytes(fhdr.Fllstmoff[:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:32:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go

    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func preadv(fd int, iovs []Iovec, off int64) (n int, err error) {
    	var _p0 *Iovec
    	if len(iovs) > 0 {
    		_p0 = &iovs[0]
    	}
    	r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procpreadv)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), uintptr(off), 0, 0)
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top