Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 105 for FATAL (0.04 sec)

  1. src/runtime/pprof/pprof_test.go

    				if len(s.Value) < 2 {
    					t.Fatal("block profile has less than 2 sample types")
    				}
    
    				if line.Function.Name == "runtime/pprof.blockInfrequentLong" {
    					il = float64(s.Value[1])
    				} else if line.Function.Name == "runtime/pprof.blockFrequentShort" {
    					fs = float64(s.Value[1])
    				}
    			}
    		}
    	}
    	if il == -1 || fs == -1 {
    		t.Fatal("block profile is missing expected functions")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  2. src/net/url/url_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if u1.String() != u.String() {
    		t.Errorf("json decoded to: %s\nwant: %s\n", u1, u)
    	}
    }
    
    func TestGob(t *testing.T) {
    	u, err := Parse("https://www.google.com/x?y=z")
    	if err != nil {
    		t.Fatal(err)
    	}
    	var w bytes.Buffer
    	err = gob.NewEncoder(&w).Encode(u)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	u1 := new(URL)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:52:38 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/lifecycle_test.go

    		},
    	}
    	b, err := xml.MarshalIndent(&lc, "", "\t")
    	if err != nil {
    		t.Fatal(err)
    	}
    	var lc1 Lifecycle
    	err = xml.Unmarshal(b, &lc1)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	ruleSet := make(map[string]struct{})
    	for _, rule := range lc.Rules {
    		ruleBytes, err := xml.Marshal(rule)
    		if err != nil {
    			t.Fatal(err)
    		}
    		ruleSet[string(ruleBytes)] = struct{}{}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. pkg/scheduler/internal/cache/cache_test.go

    			for _, pod := range tc.pods {
    				if err := cache.AssumePod(logger, pod.pod); err != nil {
    					t.Fatal(err)
    				}
    				if !pod.finishBind {
    					continue
    				}
    				if err := cache.finishBinding(logger, pod.pod, pod.assumedTime); err != nil {
    					t.Fatal(err)
    				}
    			}
    			// pods that got bound and have assumedTime + ttl < cleanupTime will get
    			// expired and removed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 63.8K bytes
    - Viewed (0)
  5. cluster/gce/windows/k8s-node-setup.psm1

        Write_PkiData "${CA_CERT_BUNDLE}" ${env:CA_FILE_PATH}
      }
      else {
        Log-Output -Fatal 'CA_CERT not present in kube-env'
      }
    
      if ($kube_env.ContainsKey('KUBELET_CERT')) {
        $KUBELET_CERT = ${kube_env}['KUBELET_CERT']
        Write_PkiData "${KUBELET_CERT}" ${env:KUBELET_CERT_PATH}
      }
      else {
        Log-Output -Fatal 'KUBELET_CERT not present in kube-env'
      }
      if ($kube_env.ContainsKey('KUBELET_KEY')) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  6. src/go/types/api_test.go

    		makePkg := func(src string) *Package {
    			pkg, err := typecheck(src, &conf, &Info{Instances: instMap, Uses: useMap})
    			// allow error for issue51803
    			if err != nil && (pkg == nil || pkg.Name() != "issue51803") {
    				t.Fatal(err)
    			}
    			imports[pkg.Name()] = pkg
    			return pkg
    		}
    		makePkg(lib)
    		pkg := makePkg(test.src)
    
    		t.Run(pkg.Name(), func(t *testing.T) {
    			// Sort instances in source order for stability.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/api_test.go

    		makePkg := func(src string) *Package {
    			pkg, err := typecheck(src, &conf, &Info{Instances: instMap, Uses: useMap})
    			// allow error for issue51803
    			if err != nil && (pkg == nil || pkg.Name() != "issue51803") {
    				t.Fatal(err)
    			}
    			imports[pkg.Name()] = pkg
    			return pkg
    		}
    		makePkg(lib)
    		pkg := makePkg(test.src)
    
    		t.Run(pkg.Name(), func(t *testing.T) {
    			// Sort instances in source order for stability.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h

      // class.
      static void TearDownTestCase() {}
    
      // Returns true iff the current test has a fatal failure.
      static bool HasFatalFailure();
    
      // Returns true iff the current test has a non-fatal failure.
      static bool HasNonfatalFailure();
    
      // Returns true iff the current test has a (either fatal or
      // non-fatal) failure.
      static bool HasFailure() { return HasFatalFailure() || HasNonfatalFailure(); }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 86.4K bytes
    - Viewed (0)
  9. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

      // class.
      static void TearDownTestCase() {}
    
      // Returns true iff the current test has a fatal failure.
      static bool HasFatalFailure();
    
      // Returns true iff the current test has a non-fatal failure.
      static bool HasNonfatalFailure();
    
      // Returns true iff the current test has a (either fatal or
      // non-fatal) failure.
      static bool HasFailure() { return HasFatalFailure() || HasNonfatalFailure(); }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    				frameworkruntime.WithLogger(logger),
    			)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			informerFactory.Start(ctx.Done())
    			informerFactory.WaitForCacheSync(ctx.Done())
    
    			nodeInfos, err := snapshot.NodeInfos().List()
    			if err != nil {
    				t.Fatal(err)
    			}
    			sort.Slice(nodeInfos, func(i, j int) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top