Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 134 for Hafner (0.19 sec)

  1. tests/associations_many2many_test.go

    	}
    	AssertAssociationCount(t, user2, "Languages", 1, "after delete non-existing data")
    
    	if err := DB.Model(&user2).Association("Languages").Delete(&language2); err != nil {
    		t.Fatalf("Error happened when delete Languages, got %v", err)
    	}
    	AssertAssociationCount(t, user2, "Languages", 0, "after delete")
    
    	// Prepare Data for Clear
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Jun 10 13:05:19 GMT 2023
    - 13.2K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/lifecycle.go

    //go:generate stringer -type Action $GOFILE
    
    const (
    	// NoneAction means no action required after evaluating lifecycle rules
    	NoneAction Action = iota
    	// DeleteAction means the object needs to be removed after evaluating lifecycle rules
    	DeleteAction
    	// DeleteVersionAction deletes a particular version
    	DeleteVersionAction
    	// TransitionAction transitions a particular object after evaluating lifecycle transition rules
    	TransitionAction
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  3. cmd/bucket-stats_gen_test.go

    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgBucketReplicationStat(b *testing.B) {
    	v := BucketReplicationStat{}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Aug 30 08:00:59 GMT 2023
    - 20.5K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-rebalance_gen_test.go

    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgrebalanceInfo(b *testing.B) {
    	v := rebalanceInfo{}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Oct 25 19:36:57 GMT 2022
    - 11K bytes
    - Viewed (0)
  5. src/bufio/scan_test.go

    			t.Fatal("looping")
    		}
    	}
    	if s.Err() != nil {
    		t.Fatal("after scan:", s.Err())
    	}
    }
    
    func TestBlankLines(t *testing.T) {
    	s := NewScanner(strings.NewReader(strings.Repeat("\n", 1000)))
    	for count := 0; s.Scan(); count++ {
    		if count > 2000 {
    			t.Fatal("looping")
    		}
    	}
    	if s.Err() != nil {
    		t.Fatal("after scan:", s.Err())
    	}
    }
    
    type countdown int
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  6. cmd/object-api-interface.go

    	MaxParts            int                 // used in GetObjectAttributes. Signals how many parts we should return
    	PartNumberMarker    int                 // used in GetObjectAttributes. Signals the part number after which results should be returned
    	PartNumber          int                 // only useful in case of GetObject/HeadObject
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  7. cmd/object-handlers-common.go

    	return false
    }
    
    // returns true if object was modified after givenTime.
    func ifModifiedSince(objTime time.Time, givenTime time.Time) bool {
    	// The Date-Modified header truncates sub-second precision, so
    	// use mtime < t+1s instead of mtime <= t to check for unmodified.
    	return objTime.After(givenTime.Add(1 * time.Second))
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  8. operator/cmd/mesh/install.go

    	// If set to true, the user is not prompted and a Yes response is assumed in all cases.
    	SkipConfirmation bool
    	// Force proceeds even if there are validation errors
    	Force bool
    	// Verify after installation
    	Verify bool
    	// Set is a string with element format "path=value" where path is an IstioOperator path and the value is a
    	// value to set the node at that path to.
    	Set []string
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  9. src/archive/tar/reader.go

    // and then Reader can be treated as an io.Reader to access the file's data.
    type Reader struct {
    	r    io.Reader
    	pad  int64      // Amount of padding (ignored) after current file entry
    	curr fileReader // Reader for current file entry
    	blk  block      // Buffer to use as temporary local storage
    
    	// err is a persistent error.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  10. src/archive/zip/writer.go

    // existing file, such as a binary executable.
    // It must be called before any data is written.
    func (w *Writer) SetOffset(n int64) {
    	if w.cw.count != 0 {
    		panic("zip: SetOffset called after data was written")
    	}
    	w.cw.count = n
    }
    
    // Flush flushes any buffered data to the underlying writer.
    // Calling Flush is not normally necessary; calling Close is sufficient.
    func (w *Writer) Flush() error {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top