Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 318 for pb (0.03 sec)

  1. src/sync/map_bench_test.go

    		},
    
    		perG: func(b *testing.B, pb *testing.PB, i int, m mapInterface) {
    			for ; pb.Next(); i++ {
    				m.Delete(0)
    			}
    		},
    	})
    }
    
    func BenchmarkSwapCollision(b *testing.B) {
    	benchMap(b, bench{
    		setup: func(_ *testing.B, m mapInterface) {
    			m.LoadOrStore(0, 0)
    		},
    
    		perG: func(b *testing.B, pb *testing.PB, i int, m mapInterface) {
    			for ; pb.Next(); i++ {
    				m.Swap(0, 0)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. src/encoding/json/bench_test.go

    	data := []byte(`3.14`)
    	b.RunParallel(func(pb *testing.PB) {
    		var f float64
    		for pb.Next() {
    			if err := Unmarshal(data, &f); err != nil {
    				b.Fatalf("Unmarshal error: %v", err)
    			}
    		}
    	})
    }
    
    func BenchmarkUnmarshalInt64(b *testing.B) {
    	b.ReportAllocs()
    	data := []byte(`3`)
    	b.RunParallel(func(pb *testing.PB) {
    		var x int64
    		for pb.Next() {
    			if err := Unmarshal(data, &x); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:00:17 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/aot/tests/BUILD

            "test_graph_tfmatmulandadd.pb",
            "test_graph_tfsplits.pb",
            "test_graph_tftop_k.pb",
            "test_graph_tfvariable.pb",
            "test_graph_tfvariable_readonly.pb",
            "test_graph_tfvariable_sequential_updates.pb",
        ],
        # Set CUDA_VISIBLE_DEVICES='' to prevent the code we launch from using any
        # GPUs which might be present.  This is important because builds may run
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. src/runtime/pprof/proto.go

    func (b *profileBuilder) flush() {
    	const dataFlush = 4096
    	if b.pb.nest == 0 && len(b.pb.data) > dataFlush {
    		b.zw.Write(b.pb.data)
    		b.pb.data = b.pb.data[:0]
    	}
    }
    
    // pbValueType encodes a ValueType message to b.pb.
    func (b *profileBuilder) pbValueType(tag int, typ, unit string) {
    	start := b.pb.startMessage()
    	b.pb.int64(tagValueType_Type, b.stringIndex(typ))
    	b.pb.int64(tagValueType_Unit, b.stringIndex(unit))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/fingerprinting_utils_test.cc

    #include "tensorflow/core/framework/graph.pb.h"
    #include "tensorflow/core/platform/path.h"
    #include "tensorflow/core/protobuf/meta_graph.pb.h"
    #include "tensorflow/core/protobuf/saved_object_graph.pb.h"
    #include "tensorflow/tools/proto_splitter/cc/util.h"
    #include "tensorflow/tools/proto_splitter/chunk.pb.h"
    #include "tensorflow/tools/proto_splitter/testdata/test_message.pb.h"
    #include "tsl/lib/core/status_test_util.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. src/expvar/expvar_test.go

    		t.Errorf("reqs.Value() = %v, want -2", i)
    	}
    }
    
    func BenchmarkIntAdd(b *testing.B) {
    	var v Int
    
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			v.Add(1)
    		}
    	})
    }
    
    func BenchmarkIntSet(b *testing.B) {
    	var v Int
    
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			v.Set(1)
    		}
    	})
    }
    
    func TestFloat(t *testing.T) {
    	RemoveAll()
    	reqs := NewFloat("requests-float")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:46:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/tests/add_dump_tensor_op.mlir

    // IntPerLayer-DAG: "tf.DumpTensor"(%[[output1_quantized]]) <{enabled = true, file_name = "quantized_tensor_data.pb", func_name = "conv", log_dir_path = "/tmp/dumps/composite_conv2d_with_bias_and_relu6_fn_1", node_name = "Conv2D_1"}> : (tensor<*xf32>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  8. pkg/config/model.go

    	// but also not used by Istio at all.
    	if pb, ok := s.(protoreflect.ProtoMessage); ok {
    		return protoconv.MessageToAnyWithError(pb)
    	}
    
    	// gogo protobuf
    	if pb, ok := s.(gogoproto.Message); ok {
    		gogoany, err := gogotypes.MarshalAny(pb)
    		if err != nil {
    			return nil, err
    		}
    		return &anypb.Any{
    			TypeUrl: gogoany.TypeUrl,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. src/time/sleep_test.go

    		benchmark(b, func(pb *testing.PB) {
    			for pb.Next() {
    				NewTimer(1 * Second).Stop()
    			}
    		})
    	})
    	b.Run("impl=func", func(b *testing.B) {
    		benchmark(b, func(pb *testing.PB) {
    			for pb.Next() {
    				newTimerFunc(1 * Second).Stop()
    			}
    		})
    	})
    }
    
    func BenchmarkSimultaneousAfterFunc1000(b *testing.B) {
    	benchmark(b, func(pb *testing.PB) {
    		for pb.Next() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:33:57 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  10. src/internal/profile/profile.go

    // total samples collected.
    func (p *Profile) Merge(pb *Profile, r float64) error {
    	if err := p.Compatible(pb); err != nil {
    		return err
    	}
    
    	pb = pb.Copy()
    
    	// Keep the largest of the two periods.
    	if pb.Period > p.Period {
    		p.Period = pb.Period
    	}
    
    	p.DurationNanos += pb.DurationNanos
    
    	p.Mapping = append(p.Mapping, pb.Mapping...)
    	for i, m := range p.Mapping {
    		m.ID = uint64(i + 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:57:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top