Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 165 for picard (0.19 sec)

  1. cmd/storage-datatypes_test.go

    		MountPath: "/tmp/drive1",
    		ID:        "uuid",
    		Error:     "",
    	}
    
    	b.SetBytes(1)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := msgp.Encode(io.Discard, &v)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func BenchmarkEncodeDiskInfoGOB(b *testing.B) {
    	v := DiskInfo{
    		Total:     1000,
    		Free:      1000,
    		Used:      1000,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/encoder_with_allocator_test.go

    	for _, tc := range benchTestCases() {
    		b.Run(tc.name, func(b *testing.B) {
    			b.ReportAllocs()
    			for n := 0; n < b.N; n++ {
    				err := target.Encode(tc.obj, ioutil.Discard)
    				if err != nil {
    					b.Fatal(err)
    				}
    			}
    		})
    	}
    }
    
    func benchmarkEncodeWithAllocatorFor(b *testing.B, target runtime.EncoderWithAllocator) {
    	for _, tc := range benchTestCases() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 23 13:38:29 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/check_goexperiment.txt

    # Test that [GOEXPERIMENT:x] is accepted.
    # Here fieldtrack is picked arbitrarily.
    
    [GOEXPERIMENT:nofieldtrack] env
    
    [GOEXPERIMENT:fieldtrack] env
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:49:00 UTC 2022
    - 178 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testcarchive/testdata/libgo6/sigprof.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"io"
    	"runtime/pprof"
    )
    
    import "C"
    
    //export go_start_profile
    func go_start_profile() {
    	pprof.StartCPUProfile(io.Discard)
    }
    
    //export go_stop_profile
    func go_stop_profile() {
    	pprof.StopCPUProfile()
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 404 bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/provider/Property.java

        /**
         * Sets the value of the property to the given value, replacing whatever value the property already had.
         *
         * <p>
         * This method can also be used to discard the value of the property, by passing it {@code null}. When the
         * value is discarded (or has never been set in the first place), the convention (default value) for this
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/DependencyResolveRulesPreferProjectModulesIntegrationTest.groovy

                            }
                        }
                        // 'Subproject_with_preferProjectModules' config DOES NOT influence this dependency
                        // and hence the higher version is picked from repo
                        edge("project :ModuleC", "myorg:ModuleC:2.0")
                    }
                    module("myorg:ModuleB:1.0")
                    edge("project :ModuleC", "myorg:ModuleC:2.0")
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/fields_test.go

    		}
    		if !reflect.DeepEqual(test, output) {
    			t.Fatalf("Expected round-trip:\ninput: %v\noutput: %v", test, output)
    		}
    	}
    }
    
    // TestFieldsToSetError tests that errors are picked up by FieldsToSet
    func TestFieldsToSetError(t *testing.T) {
    	tests := []struct {
    		fields    metav1.FieldsV1
    		errString string
    	}{
    		{
    			fields: metav1.FieldsV1{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. pkg/scheduler/internal/queue/events.go

    	PvUpdate = framework.ClusterEvent{Resource: framework.PersistentVolume, ActionType: framework.Update, Label: "PvUpdate"}
    	// PvcAdd is the event when a persistent volume claim is added in the cluster.
    	PvcAdd = framework.ClusterEvent{Resource: framework.PersistentVolumeClaim, ActionType: framework.Add, Label: "PvcAdd"}
    	// PvcUpdate is the event when a persistent volume claim is updated in the cluster.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. cmd/genkubedocs/gen_kube_docs.go

    		// --version pkg/version/verflag
    		pflag.CommandLine = pflag.NewFlagSet(os.Args[0], pflag.ExitOnError)
    
    		// generate docs for kubeadm
    		kubeadm := kubeadmapp.NewKubeadmCommand(bytes.NewReader(nil), io.Discard, io.Discard)
    		doc.GenMarkdownTree(kubeadm, outDir)
    
    		// cleanup generated code for usage as include in the website
    		MarkdownPostProcessing(kubeadm, outDir, cleanupForInclude)
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  10. src/flag/export_test.go

    // After calling ResetForTesting, parse errors in flag handling will not
    // exit the program.
    func ResetForTesting(usage func()) {
    	CommandLine = NewFlagSet(os.Args[0], ContinueOnError)
    	CommandLine.SetOutput(io.Discard)
    	CommandLine.Usage = commandLineUsage
    	Usage = usage
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 07 09:29:14 UTC 2022
    - 653 bytes
    - Viewed (0)
Back to top