Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 51 for 50 (0.18 sec)

  1. tests/associations_belongs_to_test.go

    }
    
    func TestBelongsToAssociationUnscoped(t *testing.T) {
    	type ItemParent struct {
    		gorm.Model
    		Logo string `gorm:"not null;type:varchar(50)"`
    	}
    	type ItemChild struct {
    		gorm.Model
    		Name         string `gorm:"type:varchar(50)"`
    		ItemParentID uint
    		ItemParent   ItemParent
    	}
    
    	tx := DB.Session(&gorm.Session{})
    	tx.Migrator().DropTable(&ItemParent{}, &ItemChild{})
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    0000000 50 4b 03 04 14 00 00 00 08 00 08 03 64 3c f9 f4
    0000010 89 64 48 01 00 00 b8 01 00 00 07 00 00 00 72 2f
    0000020 72 2e 7a 69 70 00 25 00 da ff 50 4b 03 04 14 00
    0000030 00 00 08 00 08 03 64 3c f9 f4 89 64 48 01 00 00
    0000040 b8 01 00 00 07 00 00 00 72 2f 72 2e 7a 69 70 00
    0000050 2f 00 d0 ff 00 25 00 da ff 50 4b 03 04 14 00 00
    0000060 00 08 00 08 03 64 3c f9 f4 89 64 48 01 00 00 b8
    0000070 01 00 00 07 00 00 00 72 2f 72 2e 7a 69 70 00 2f
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  3. cmd/metacache-stream.go

    )
    
    // metadata stream format:
    //
    // The stream is s2 compressed.
    // https://github.com/klauspost/compress/tree/master/s2#s2-compression
    // This ensures integrity and reduces the size typically by at least 50%.
    //
    // All stream elements are msgpack encoded.
    //
    // 1 Integer, metacacheStreamVersion of the writer.
    // This can be used for managing breaking changes.
    //
    // For each element:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2_test.go

    		},
    	}
    	for _, test := range testCases {
    		t.Run(test.name, func(t *testing.T) {
    			// Run multiple times, shuffling the input order.
    			for i := int64(0); i < 50; i++ {
    				t.Run(fmt.Sprint(i), func(t *testing.T) {
    					rng := rand.New(rand.NewSource(i))
    					rng.Shuffle(len(test.input), func(i, j int) {
    						test.input[i], test.input[j] = test.input[j], test.input[i]
    					})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  5. cmd/object-api-putobject_test.go

    func BenchmarkPutObject50MbFS(b *testing.B) {
    	benchmarkPutObject(b, "FS", 50*humanize.MiByte)
    }
    
    // BenchmarkPutObject50MbErasure - Benchmark Erasure.PutObject() for object size of 50MB.
    func BenchmarkPutObject50MbErasure(b *testing.B) {
    	benchmarkPutObject(b, "Erasure", 50*humanize.MiByte)
    }
    
    // parallel benchmarks for ObjectLayer.PutObject() .
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  6. cmd/erasure-multipart.go

    			if disk == nil || !disk.IsOnline() {
    				parityDrives++
    				offlineDrives++
    				continue
    			}
    		}
    
    		if offlineDrives >= (len(onlineDisks)+1)/2 {
    			// if offline drives are more than 50% of the drives
    			// we have no quorum, we shouldn't proceed just
    			// fail at that point.
    			return nil, toObjectErr(errErasureWriteQuorum, bucket, object)
    		}
    
    		if parityDrives >= len(onlineDisks)/2 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle_test.go

                                  </Transition>
                                 </Rule>
                           </LifecycleConfiguration>`,
    			objectName:     "obj-1",
    			objectModTime:  time.Now().UTC().Add(-50 * 24 * time.Hour),
    			isDelMarker:    true,
    			expectedAction: NoneAction,
    		},
    		{
    			inputConfig: `<LifecycleConfiguration>
                                <Rule>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  8. src/bytes/buffer_test.go

    	}
    	check(t, "TestLargeByteReads (3)", &buf, "")
    }
    
    func TestMixedReadsAndWrites(t *testing.T) {
    	var buf Buffer
    	s := ""
    	for i := 0; i < 50; i++ {
    		wlen := rand.Intn(len(testString))
    		if i%2 == 0 {
    			s = fillString(t, "TestMixedReadsAndWrites (1)", &buf, s, 1, testString[0:wlen])
    		} else {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  9. src/bufio/bufio_test.go

    			r := io.MultiReader(strings.NewReader("abc"), &emptyThenNonEmptyReader{r: strings.NewReader("def"), n: 1})
    			br := NewReaderSize(r, size)
    			want := func(s string, wantErr error) {
    				p := make([]byte, 50)
    				n, err := br.Read(p)
    				if err != wantErr || n != len(s) || string(p[:n]) != s {
    					t.Fatalf("read(%d) = %q, %v, want %q, %v", len(p), string(p[:n]), err, s, wantErr)
    				}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  10. cmd/bucket-handlers.go

    		}
    	}
    
    	// Add/update buckets that are not registered with the DNS
    	bucketsToBeUpdatedSlice := bucketsToBeUpdated.ToSlice()
    	g := errgroup.WithNErrs(len(bucketsToBeUpdatedSlice)).WithConcurrency(50)
    
    	for index := range bucketsToBeUpdatedSlice {
    		index := index
    		g.Go(func() error {
    			return globalDNSConfig.Put(bucketsToBeUpdatedSlice[index])
    		}, index)
    	}
    
    	ctx := GlobalContext
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top