Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 378 for xoffset (0.12 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/ByteOutput.java

        }
    
        /**
         * Starts writing to the given offset. Can be beyond the current length of the file.
         */
        public DataOutputStream start(long offset) throws IOException {
            file.seek(offset);
            bufferedOutputStream.clear();
            countingOutputStream = new CountingOutputStream(bufferedOutputStream);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/time/time.go

    	if t.Location() == UTC {
    		offsetMin = -1
    	} else {
    		_, offset := t.Zone()
    		if offset%60 != 0 {
    			version = timeBinaryVersionV2
    			offsetSec = int8(offset % 60)
    		}
    
    		offset /= 60
    		if offset < -32768 || offset == -1 || offset > 32767 {
    			return nil, errors.New("Time.MarshalBinary: unexpected zone offset")
    		}
    		offsetMin = int16(offset)
    	}
    
    	sec := t.sec()
    	nsec := t.nsec()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  3. src/internal/reflectlite/export_test.go

    	// or flagIndir is not set and v.ptr is the actual struct data.
    	// In the former case, we want v.ptr + offset.
    	// In the latter case, we must have field.offset = 0,
    	// so v.ptr + field.offset is still the correct address.
    	ptr := add(v.ptr, field.Offset, "same as non-reflect &v.field")
    	return Value{typ, ptr, fl}
    }
    
    func TField(typ Type, i int) Type {
    	t := typ.(rtype)
    	if t.Kind() != Struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableMap.java

        private final transient @Nullable Object[] alternatingKeysAndValues;
        private final transient int offset;
        private final transient int size;
    
        KeysOrValuesAsList(@Nullable Object[] alternatingKeysAndValues, int offset, int size) {
          this.alternatingKeysAndValues = alternatingKeysAndValues;
          this.offset = offset;
          this.size = size;
        }
    
        @Override
        public Object get(int index) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedDecoder.java

            this.inputStream = inputStream;
            input = new Input(this.inputStream, bufferSize);
        }
    
        @Override
        protected int maybeReadBytes(byte[] buffer, int offset, int count) {
            return input.read(buffer, offset, count);
        }
    
        @Override
        protected long maybeSkip(long count) throws IOException {
            // Work around some bugs in Input.skip()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. src/runtime/syscall_windows.go

    // tryRegAssignArg tries to register-assign a value of type t.
    // If this type is nested in an aggregate type, then offset is the
    // offset of this type within its parent type.
    // Assumes t.size <= goarch.PtrSize and t.size != 0.
    //
    // Returns whether the assignment succeeded.
    func (p *abiDesc) tryRegAssignArg(t *_type, offset uintptr) bool {
    	switch k := t.Kind_ & abi.KindMask; k {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. cmd/erasure-metadata.go

    }
    
    // ObjectToPartOffset - translate offset of an object to offset of its individual part.
    func (fi FileInfo) ObjectToPartOffset(ctx context.Context, offset int64) (partIndex int, partOffset int64, err error) {
    	if offset == 0 {
    		// Special case - if offset is 0, then partIndex and partOffset are always 0.
    		return 0, 0, nil
    	}
    	partOffset = offset
    	// Seek until object offset maps to a particular part offset.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/AbstractDecoder.java

                return maybeReadBytes(buffer, 0, buffer.length);
            }
    
            @Override
            public int read(byte[] buffer, int offset, int count) throws IOException {
                return maybeReadBytes(buffer, offset, count);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/runtime/type.go

    	}
    	return ""
    }
    
    // reflectOffs holds type offsets defined at run time by the reflect package.
    //
    // When a type is defined at run time, its *rtype data lives on the heap.
    // There are a wide range of possible addresses the heap may use, that
    // may not be representable as a 32-bit offset. Moreover the GC may
    // one day start moving heap memory, in which case there is no stable
    // offset that can be defined.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. src/time/format.go

    		// Look for local zone with the given offset.
    		// If that zone was in effect at the given time, use it.
    		offset, ok := local.lookupName(zoneName, t.unixSec())
    		if ok {
    			t.addSec(-int64(offset))
    			t.setLoc(local)
    			return t, nil
    		}
    
    		// Otherwise, create fake zone with unknown offset.
    		if len(zoneName) > 3 && zoneName[:3] == "GMT" {
    			offset, _ = atoi(zoneName[3:]) // Guaranteed OK by parseGMT.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
Back to top