Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 124 for Boundaries (0.16 sec)

  1. src/os/file_plan9.go

    		return 0, io.EOF
    	}
    	return n, e
    }
    
    // write writes len(b) bytes to the File.
    // It returns the number of bytes written and an error, if any.
    // Since Plan 9 preserves message boundaries, never allow
    // a zero-byte write.
    func (f *File) write(b []byte) (n int, err error) {
    	if err := f.writeLock(); err != nil {
    		return 0, err
    	}
    	defer f.writeUnlock()
    	if len(b) == 0 {
    		return 0, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:35:30 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. pkg/monitoring/monitoring.go

    		v := metric.WithView(metric.NewView(
    			metric.Instrument{Name: name},
    			metric.Stream{Aggregation: metric.AggregationExplicitBucketHistogram{
    				Boundaries: def.Bounds,
    			}},
    		))
    		opts = append(opts, v)
    	}
    	return opts
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modfetch/repo.go

    // in its root directory, along with a new requirement cycle.
    // The ability to shift module boundaries in this way is expected to be
    // important in large-scale program refactorings, similar to the ones
    // described in https://talks.golang.org/2016/refactor.article.
    //
    // The possibility of shifting module boundaries reemphasizes
    // that you must know both the module path and its version
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 16:36:19 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    def LegalizeReal : Pat<(TF_RealOp $arg), (TFL_RealOp $arg)>;
    
    def LegalizeImag : Pat<(TF_ImagOp $arg), (TFL_ImagOp $arg)>;
    
    def LegalizeBucketize : Pat<
      (TF_BucketizeOp $input, F32ArrayAttr:$boundaries),
      (TFL_BucketizeOp $input, $boundaries)>;
    
    def LegalizeRandomUniform : Pat<
      (TF_RandomUniformOp $shape, $seed, $seed2),
      (TFL_RandomUniformOp $shape, (convertIntAttrTo64Bit $seed),
       (convertIntAttrTo64Bit $seed2))>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  5. src/net/http/header.go

    // returned without modifications.
    func CanonicalHeaderKey(s string) string { return textproto.CanonicalMIMEHeaderKey(s) }
    
    // hasToken reports whether token appears with v, ASCII
    // case-insensitive, with space or comma boundaries.
    // token must be all lowercase.
    // v may contain mixed cased.
    func hasToken(v, token string) bool {
    	if len(token) > len(v) || token == "" {
    		return false
    	}
    	if v == token {
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSet.java

       * is unnecessary; for example, {@code copyOf(copyOf(anArrayList))} will copy the data only once.
       * This reduces the expense of habitually making defensive copies at API boundaries. However, the
       * precise conditions for skipping the copy operation are undefined.
       *
       * @throws NullPointerException if any of {@code elements} is null
       * @since 7.0 (source-compatible since 2.0)
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modindex/scan.go

    // if the module shouldn't be indexed, and nil otherwise.
    func moduleWalkErr(root string, path string, info fs.FileInfo, err error) error {
    	if err != nil {
    		return ErrNotIndexed
    	}
    	// stop at module boundaries
    	if info.IsDir() && path != root {
    		if fi, err := fsys.Stat(filepath.Join(path, "go.mod")); err == nil && !fi.IsDir() {
    			return filepath.SkipDir
    		}
    	}
    	if info.Mode()&fs.ModeSymlink != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

      /** Headers are compressed, then framed.  */
      @Test fun pushPromiseThenContinuation() {
        val expectedPromisedStreamId = 11
        val pushPromise = largeHeaders()
    
        // Decoding the first header will cross frame boundaries.
        val headerBlock = literalHeaders(pushPromise)
    
        // Write the first headers frame.
        writeMedium(frame, Http2.INITIAL_MAX_FRAME_SIZE)
        frame.writeByte(Http2.TYPE_PUSH_PROMISE)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  9. src/runtime/metrics.go

    		// and exclusive upper-bound (e.g. 48-byte size class is
    		// [33, 49)). We can achieve this by shifting all bucket
    		// boundaries up by 1.
    		//
    		// Also, a float64 can precisely represent integers with
    		// value up to 2^53 and size classes are relatively small
    		// (nowhere near 2^48 even) so this will give us exact
    		// boundaries.
    		sizeClassBuckets[i] = float64(class_to_size[i] + 1)
    	}
    	sizeClassBuckets = append(sizeClassBuckets, float64Inf())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 26K bytes
    - Viewed (0)
  10. src/cmd/trace/main.go

    func splitTrace(parsed *parsedTrace) ([]traceviewer.Range, error) {
    	// TODO(mknyszek): Split traces by generation by doing a quick first pass over the
    	// trace to identify all the generation boundaries.
    	s, c := traceviewer.SplittingTraceConsumer(100 << 20) // 100 MiB
    	if err := generateTrace(parsed, defaultGenOpts(), c); err != nil {
    		return nil, err
    	}
    	return s.Ranges, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top