Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for addData (0.47 sec)

  1. internal/bucket/object/lock/lock.go

    			// Do not change any configuration
    			// upon NTP failure.
    			return r
    		}
    
    		if config.Rule.DefaultRetention.Days != nil {
    			r.Validity = t.AddDate(0, 0, int(*config.Rule.DefaultRetention.Days)).Sub(t)
    		} else {
    			r.Validity = t.AddDate(int(*config.Rule.DefaultRetention.Years), 0, 0).Sub(t)
    		}
    	}
    
    	return r
    }
    
    // Maximum 4KiB size per object lock config.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. pkg/printers/internalversion/printers_test.go

    					FieldPath: "spec.containers{foo}",
    				},
    				Reason:         "Event Reason",
    				Message:        "Message Data",
    				FirstTimestamp: metav1.Time{Time: time.Now().UTC().AddDate(0, 0, -3)},
    				LastTimestamp:  metav1.Time{Time: time.Now().UTC().AddDate(0, 0, -2)},
    				Count:          6,
    				Type:           api.EventTypeNormal,
    				ObjectMeta:     metav1.ObjectMeta{Name: "event1"},
    			},
    			options: printers.GenerateOptions{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  3. cmd/bucket-replication-handlers.go

    				Bucket: bucket,
    				Err:    fmt.Errorf("invalid query parameter older-than %s for %s : %w", durationStr, bucket, err),
    			}), r.URL)
    			return
    		}
    	}
    	resetBeforeDate := UTCNow().AddDate(0, 0, -1*int(days/24))
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  4. src/time/time_test.go

    	{"Sub", func(t1, t2 Time) bool { return t1.Sub(t2) == t2.Sub(t1) }},
    
    	//Original caus for this test case bug 15852
    	{"AddDate", func(t1, t2 Time) bool { return t1.AddDate(1991, 9, 3) == t2.AddDate(1991, 9, 3) }},
    
    	{"UTC", func(t1, t2 Time) bool { return t1.UTC() == t2.UTC() }},
    	{"Local", func(t1, t2 Time) bool { return t1.Local() == t2.Local() }},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  5. pkg/controller/controller_utils_test.go

    				t.Errorf("Active pod names (-want,+got):\n%s", diff)
    			}
    		})
    	}
    }
    
    func TestSortingActivePods(t *testing.T) {
    	now := metav1.Now()
    	then := metav1.Time{Time: now.AddDate(0, -1, 0)}
    
    	tests := []struct {
    		name      string
    		pods      []v1.Pod
    		wantOrder []string
    	}{
    		{
    			name: "Sorts by active pod",
    			pods: []v1.Pod{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

        CompareTensors(out0, expected_out0);
        CompareTensors(out1, expected_out1);
      }
    
      void CompareTensors(TF_Tensor* a, TF_Tensor* b) {
        float* a_data = static_cast<float*>(TF_TensorData(a));
        float* b_data = static_cast<float*>(TF_TensorData(b));
        EXPECT_EQ(*a_data, *b_data);
      }
    
      void AddGradients(bool grad_inputs_provided, const char* prefix,
                        TF_Output* inputs, int ninputs, TF_Output* outputs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/schema/schema_generated.h

    };
    
    struct BufferBuilder {
      typedef Buffer Table;
      ::flatbuffers::FlatBufferBuilder &fbb_;
      ::flatbuffers::uoffset_t start_;
      void add_data(::flatbuffers::Offset<::flatbuffers::Vector<uint8_t>> data) {
        fbb_.AddOffset(Buffer::VT_DATA, data);
      }
      void add_offset(uint64_t offset) {
        fbb_.AddElement<uint64_t>(Buffer::VT_OFFSET, offset, 0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top