Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 150 for Sizes (0.11 sec)

  1. src/runtime/tracestack.go

    	// it contains N frames.
    	maxBytes := 1 + (2+4*len(frames))*traceBytesPerNumber
    
    	// Estimate the size of this record. This
    	// bound is pretty loose, but avoids counting
    	// lots of varint sizes.
    	//
    	// Add 1 because we might also write traceEvStacks.
    	var flushed bool
    	w, flushed = w.ensure(1 + maxBytes)
    	if flushed {
    		w.byte(byte(traceEvStacks))
    	}
    
    	// Emit stack event.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/codegen.cc

        return errors::InvalidArgument("result index: ", result_index,
                                       " is outside the range of temp sizes: [0,",
                                       buffer_infos.size(), ")");
      }
    
      // Compute sizes and generate methods.
      std::vector<BufferInfo> buffer_infos_for_args =
          ExtractEntryParamBufferInfos(buffer_infos);
      std::vector<BufferInfo> buffer_infos_for_temps =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  3. src/encoding/json/bench_test.go

    			}
    		}
    	})
    }
    
    func BenchmarkTypeFieldsCache(b *testing.B) {
    	b.ReportAllocs()
    	var maxTypes int = 1e6
    	if testenv.Builder() != "" {
    		maxTypes = 1e3 // restrict cache sizes on builders
    	}
    
    	// Dynamically generate many new types.
    	types := make([]reflect.Type, maxTypes)
    	fs := []reflect.StructField{{
    		Type:  reflect.TypeFor[string](),
    		Index: []int{0},
    	}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:00:17 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. cmd/metrics.go

    			ch <- prometheus.MustNewConstMetric(
    				prometheus.NewDesc(
    					prometheus.BuildFQName(bucketNamespace, "objects", "histogram"),
    					"Total number of objects of different sizes in a bucket",
    					[]string{"bucket", "object_size"}, nil),
    				prometheus.GaugeValue,
    				float64(v),
    				bucket,
    				k,
    			)
    		}
    		for k, v := range usageInfo.ObjectVersionsHistogram {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. test/nosplit.go

    # be rejected. "REJECT" without any architectures means reject on all architectures.
    # The linker should accept the test case on systems not explicitly rejected.
    #
    # 64-bit systems do not attempt to execute test cases with frame sizes
    # that are only 32-bit aligned.
    
    # Ordinary function should work
    start 0
    
    # Large frame marked nosplit is always wrong.
    # Frame is so large it overflows cmd/link's int16.
    start 100000 nosplit
    REJECT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/MoreFiles.java

          } catch (IOException e) {
            // Failed to get attributes; we don't know the size.
            return Optional.absent();
          }
    
          // Don't return a size for directories or symbolic links; their sizes are implementation
          // specific and they can't be read as bytes using the read methods anyway.
          if (attrs.isDirectory() || attrs.isSymbolicLink()) {
            return Optional.absent();
          }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  7. src/text/tabwriter/tabwriter_test.go

    	title = testname + " (written byte-by-byte)"
    	b.clear()
    	for i := 0; i < len(src); i++ {
    		write(t, title, &w, src[i:i+1])
    	}
    	verify(t, title, &w, &b, src, expected)
    
    	// write using Fibonacci slice sizes
    	title = testname + " (written in fibonacci slices)"
    	b.clear()
    	for i, d := 0, 0; i < len(src); {
    		write(t, title, &w, src[i:i+d])
    		i, d = i+d, d+1
    		if i+d > len(src) {
    			d = len(src) - i
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.td

        replicated TPU computation. The number of times a TPU computation is
        replicated is defined in the `tf.TPUReplicateMetadata` op (`num_replicas`
        attribute) and operand and result sizes of `tf.TPUReplicatedInput` and
        `tf.TPUReplicatedOutput` respectively must match, excluding packed tensors.
        It is also assumed ops of the same TPU computation do not have ops outside
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  9. src/runtime/alg.go

    // See go.dev/issue/67401.
    //
    //go:linkname typehash
    func typehash(t *_type, p unsafe.Pointer, h uintptr) uintptr {
    	if t.TFlag&abi.TFlagRegularMemory != 0 {
    		// Handle ptr sizes specially, see issue 37086.
    		switch t.Size_ {
    		case 4:
    			return memhash32(p, h)
    		case 8:
    			return memhash64(p, h)
    		default:
    			return memhash(p, h, t.Size_)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. src/cmd/gofmt/gofmt.go

    	case nil, io.EOF, io.ErrUnexpectedEOF:
    		// io.ReadFull returns io.EOF (for an empty file) or io.ErrUnexpectedEOF
    		// (for a non-empty file) if the file was changed unexpectedly. Continue
    		// with comparing file sizes in those cases.
    	default:
    		return nil, err
    	}
    	if n < size {
    		return nil, fmt.Errorf("error: size of %s changed during reading (from %d to %d bytes)", filename, size, n)
    	} else if n > size {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top