Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 250 for xoffset (0.21 sec)

  1. 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)
  2. src/cmd/cover/cover.go

    func (b blockSlice) Less(i, j int) bool { return b[i].startByte < b[j].startByte }
    func (b blockSlice) Swap(i, j int)      { b[i], b[j] = b[j], b[i] }
    
    // offset translates a token position into a 0-indexed byte offset.
    func (f *File) offset(pos token.Pos) int {
    	return f.fset.Position(pos).Offset
    }
    
    // addVariables adds to the end of the file the declarations to set up the counter and position variables.
    func (f *File) addVariables(w io.Writer) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. docs/debugging/xl-meta/main.go

    									offset++
    									continue
    								}
    								for shardIdx, ok := range shardConfig {
    									if ok != 0 {
    										shards[shardIdx] = append(shards[shardIdx], splitData[shardIdx][offset])
    									}
    								}
    								offset++
    							}
    							if offset > startOffset && reconstructAbleConfig {
    								reconPartial(shards, k, parityOK, splitData, startOffset, offset, rs, shardConfig, splitFilled)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  4. chainable_api.go

    	return
    }
    
    // Offset specify the number of records to skip before starting to return the records
    //
    // Offset conditions can be cancelled by using `Offset(-1)`.
    //
    //	// select the third user
    //	db.Offset(2).First(&user)
    //	// select the first user by cancelling an earlier chained offset
    //	db.Offset(5).Offset(-1).First(&user)
    func (db *DB) Offset(offset int) (tx *DB) {
    	tx = db.getInstance()
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. pkg/util/tail/tail.go

    		return nil, false, err
    	}
    	size := fi.Size()
    	if size == 0 {
    		return nil, false, nil
    	}
    	if size < max {
    		max = size
    	}
    	offset, err := f.Seek(-max, io.SeekEnd)
    	if err != nil {
    		return nil, false, err
    	}
    	data, err := io.ReadAll(f)
    	return data, offset > 0, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/IoTestCase.java

        return newPreFilledByteArray(0, size);
      }
    
      /** Returns a byte array of length size that has values offset .. offset + size - 1. */
      static byte[] newPreFilledByteArray(int offset, int size) {
        byte[] array = new byte[size];
        for (int i = 0; i < size; i++) {
          array[i] = (byte) (offset + i);
        }
        return array;
      }
    
      private static void copy(URL url, File file) throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

    internal fun checkOffsetAndCount(
      arrayLength: Long,
      offset: Long,
      count: Long,
    ) {
      if (offset or count < 0L || offset > arrayLength || arrayLength - offset < count) {
        throw ArrayIndexOutOfBoundsException("length=$arrayLength, offset=$offset, count=$offset")
      }
    }
    
    val commonEmptyHeaders: Headers = Headers.headersOf()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/problems/ReceivedProblem.groovy

            private final int offset
            private final int length
    
            ReceivedOffsetInFileLocation(Map<String, Object> location) {
                super(location)
                offset = location['offset'] as int
                length = location['length'] as int
            }
    
            @Override
            int getOffset() {
                offset
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 12:45:23 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableList.java

        return new SubList(fromIndex, toIndex - fromIndex);
      }
    
      class SubList extends ImmutableList<E> {
        final transient int offset;
        final transient int length;
    
        SubList(int offset, int length) {
          this.offset = offset;
          this.length = length;
        }
    
        @Override
        public int size() {
          return length;
        }
    
        @Override
        @CheckForNull
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

    //   m = Shape(input)[-2]
    //   n = Shape(input)[-1]
    //   num_lower_or_m = Select(num_lower < 0, m, num_lower)
    //   num_upper_or_n = Select(num_upper < 0, n, num_upper)
    //   offset = ExpandDims(Range(0, m), -1) - Range(0, n)
    //   indicator = LogicalAnd(offset <= num_lower_or_m, offset >= -num_upper_or_n)
    //   return Select(indicator, input, ZerosLike(Input))
    // }
    def LowerMatrixBandPartOp : Pattern<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top