Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for othermeta (0.55 sec)

  1. src/internal/coverage/cfile/ts_test.go

    	td := t.TempDir()
    
    	// Manufacture a new, separate meta-data file not related to this
    	// test. Contents are not important, just so long as the
    	// packages/paths are different.
    	othermetadir := filepath.Join(td, "othermeta")
    	if err := os.Mkdir(othermetadir, 0777); err != nil {
    		t.Fatalf("mkdir failed: %v", err)
    	}
    	mfile, token := genAuxMeta(t, othermetadir)
    
    	// Write a metafiles file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:58:07 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/StatsAccumulator.java

          if (isFinite(mean) && isFinite(otherMean)) {
            // This is a generalized version of the calculation in add(double) above.
            double delta = otherMean - mean;
            mean += delta * otherCount / count;
            sumOfSquaresOfDeltas += otherSumOfSquaresOfDeltas + delta * (otherMean - mean) * otherCount;
          } else {
            mean = calculateNewMeanNonFinite(mean, otherMean);
            sumOfSquaresOfDeltas = NaN;
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/authentication/token/tokenfile/tokenfile_test.go

    	auth, err := newWithContents(t, `
    token1,user1,uid1
    token2,user2,uid2
    token3,user3,uid3,"group1,group2"
    token4,user4,uid4,"group2"
    token5,user5,uid5,group5
    token6,user6,uid6,group5,otherdata
    token7,user7,uid7,"group1,group2",otherdata
    `)
    	if err != nil {
    		t.Fatalf("unable to read tokenfile: %v", err)
    	}
    
    	testCases := []struct {
    		Token string
    		User  *user.DefaultInfo
    		Ok    bool
    		Err   bool
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 22 17:16:59 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/StatsAccumulator.java

          if (isFinite(mean) && isFinite(otherMean)) {
            // This is a generalized version of the calculation in add(double) above.
            double delta = otherMean - mean;
            mean += delta * otherCount / count;
            sumOfSquaresOfDeltas += otherSumOfSquaresOfDeltas + delta * (otherMean - mean) * otherCount;
          } else {
            mean = calculateNewMeanNonFinite(mean, otherMean);
            sumOfSquaresOfDeltas = NaN;
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  5. pkg/registry/core/secret/storage/storage_test.go

    	test.TestUpdate(
    		// valid
    		validNewSecret("foo"),
    		// updateFunc
    		func(obj runtime.Object) runtime.Object {
    			object := obj.(*api.Secret)
    			object.Data["othertest"] = []byte("otherdata")
    			return object
    		},
    	)
    }
    
    func TestDelete(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 12 20:55:35 UTC 2019
    - 3.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/registry/rest/resttest/resttest.go

    	storedFoo, err := getFn(ctx, foo)
    	if err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    
    	older := storedFoo.DeepCopyObject()
    	olderMeta := t.getObjectMetaOrFail(older)
    	olderMeta.SetResourceVersion("1")
    
    	_, _, err = t.storage.(rest.Updater).Update(t.TestContext(), olderMeta.GetName(), rest.DefaultUpdatedObjectInfo(older), rest.ValidateAllObjectFunc, rest.ValidateAllObjectUpdateFunc, false, &metav1.UpdateOptions{})
    	if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 55.8K bytes
    - Viewed (0)
Back to top