Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 210 for rounds (0.13 sec)

  1. src/encoding/csv/reader.go

    // the start of the field with the given index in the slice most recently
    // returned by [Reader.Read]. Numbering of lines and columns starts at 1;
    // columns are counted in bytes, not runes.
    //
    // If this is called with an out-of-bounds index, it panics.
    func (r *Reader) FieldPos(field int) (line, column int) {
    	if field < 0 || field >= len(r.fieldPositions) {
    		panic("out of range index passed to FieldPos")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. src/reflect/value.go

    		n := int((*arrayType)(unsafe.Pointer(v.typ())).Len)
    		return unsafe.Slice(p, n)
    	}
    	panic(&ValueError{"reflect.Value.Bytes", v.kind()})
    }
    
    // runes returns v's underlying value.
    // It panics if v's underlying value is not a slice of runes (int32s).
    func (v Value) runes() []rune {
    	v.mustBe(Slice)
    	if v.typ().Elem().Kind() != abi.Int32 {
    		panic("reflect.Value.Bytes of non-rune slice")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  3. src/runtime/mbitmap.go

    	if gp := getg(); gp.m.curg.stack.lo <= uintptr(p) && uintptr(p) < gp.m.curg.stack.hi {
    		found := false
    		var u unwinder
    		for u.initAt(gp.m.curg.sched.pc, gp.m.curg.sched.sp, 0, gp.m.curg, 0); u.valid(); u.next() {
    			if u.frame.sp <= uintptr(p) && uintptr(p) < u.frame.varp {
    				found = true
    				break
    			}
    		}
    		if found {
    			locals, _, _ := u.frame.getStackMap(false)
    			if locals.n == 0 {
    				return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Iterables.java

      /**
       * Returns the element at the specified position in an iterable.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.skip(position).findFirst().get()} (throws
       * {@code NoSuchElementException} if out of bounds)
       *
       * @param position position of the element to return
       * @return the element at the specified position in {@code iterable}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  5. src/log/slog/value.go

    		return Value{num: uint64(nsec), any: timeLocation(v.Location())}
    	}
    	// Fall back to the general form.
    	// Strip the monotonic portion to match the other representation.
    	return Value{any: timeTime(v.Round(0))}
    }
    
    // DurationValue returns a [Value] for a [time.Duration].
    func DurationValue(v time.Duration) Value {
    	return Value{num: uint64(v.Nanoseconds()), any: KindDuration}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/os/file_plan9.go

    // file, similar to the Unix utime() or utimes() functions.
    // A zero time.Time value will leave the corresponding file time unchanged.
    //
    // The underlying filesystem may truncate or round the values to a
    // less precise time unit.
    // If there is an error, it will be of type *PathError.
    func Chtimes(name string, atime time.Time, mtime time.Time) error {
    	var d syscall.Dir
    
    	d.Null()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:35:30 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. src/runtime/proc.go

    	}
    
    	// Remove m from allm.
    	lock(&sched.lock)
    	for pprev := &allm; *pprev != nil; pprev = &(*pprev).alllink {
    		if *pprev == mp {
    			*pprev = mp.alllink
    			goto found
    		}
    	}
    	throw("m not found in allm")
    found:
    	// Events must not be traced after this point.
    
    	// Delay reaping m until it's done with the stack.
    	//
    	// Put mp on the free list, though it will not be reaped while freeWait
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

        } else {
          if (first_start != second_start || first_limit != second_limit)
            return rewriter.notifyMatchFailure(
                second, "non-concat dims have mismatching slice bounds");
        }
    
        new_start.push_back(first_start);
        new_limit.push_back(second_limit);
        new_slice_shape.push_back(second_limit - first_start);
      }
    
      auto new_slice = rewriter.create<mhlo::SliceOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterables.java

      /**
       * Returns the element at the specified position in an iterable.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.skip(position).findFirst().get()} (throws
       * {@code NoSuchElementException} if out of bounds)
       *
       * @param position position of the element to return
       * @return the element at the specified position in {@code iterable}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  10. src/hash/crc32/crc32_ppc64le.s

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // The vectorized implementation found below is a derived work
    // from code written by Anton Blanchard <******@****.***> found
    // at https://github.com/antonblanchard/crc32-vpmsum.  The original
    // is dual licensed under GPL and Apache 2.  As the copyright holder
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 12:09:50 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top