Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for Chen (0.13 sec)

  1. tests/query_test.go

    		*GetUser("find", Config{}),
    	}
    
    	if err := DB.Create(&users).Error; err != nil {
    		t.Fatalf("errors happened when create users: %v", err)
    	}
    
    	t.Run("First", func(t *testing.T) {
    		var first User
    		if err := DB.Where("name = ?", "find").First(&first).Error; err != nil {
    			t.Errorf("errors happened when query first: %v", err)
    		} else {
    			CheckUser(t, first, users[0])
    		}
    	})
    
    	t.Run("Last", func(t *testing.T) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  2. istioctl/pkg/describe/describe.go

    	}
    
    	if len(match.Headers) > 0 {
    		headerConds := []string{}
    		for key, val := range match.Headers {
    			headerConds = append(headerConds, fmt.Sprintf("%s=%s", key, renderStringMatch(val)))
    		}
    		retval += " when headers are " + strings.Join(headerConds, "; ")
    	}
    
    	// TODO QueryParams, maybe Gateways
    	return strings.TrimSpace(retval)
    }
    
    func printPod(writer io.Writer, pod *corev1.Pod, revision string) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/lifecycle_test.go

    			isDelMarker:    true,
    			expectedAction: DeleteVersionAction,
    		},
    		// Should not expire a delete marker; ExpiredObjectDeleteAllVersions applies only when current version is not a DEL marker.
    		{
    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)
  4. cmd/batch-handlers.go

    				ReplicationRequest:      true, // always set this to distinguish between `mc mirror` replication and serverside
    			},
    		})
    	}
    
    	if retry && !s3Type { // when we are retrying avoid copying if necessary.
    		gopts := miniogo.GetObjectOptions{}
    		if err := gopts.SetMatchETag(srcObjInfo.ETag); err != nil {
    			return err
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  5. src/archive/zip/reader_test.go

    	// which names a file in the testdata/ directory containing the
    	// uncompressed expected content.
    	// If content is very large, an alternative to setting Content or File
    	// is to set Size, which will then be checked against the header-reported size
    	// but will bypass the decompressing of the actual data.
    	// This last option is used for testing very large (multi-GB) compressed files.
    	ContentErr error
    	Content    []byte
    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)
  6. cmd/bucket-handlers.go

    					// new domain entries as well.
    					continue
    				}
    
    				// if domain IPs intersect then it won't be an empty set.
    				// such an intersection means that bucket exists on etcd.
    				// but if we do see a difference with local domain IPs with
    				// hostSlice from etcd then we should update with newer
    				// domainIPs, we proceed to do that here.
    				bucketsToBeUpdated.Add(bucket.Name)
    				continue
    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)
  7. cmd/xl-storage-format-v2.go

    // Note that false does not mean there is no inline data,
    // only that it is unlikely.
    func (x xlMetaV2VersionHeader) InlineData() bool {
    	return x.Flags&xlFlagInlineData != 0
    }
    
    // signatureErr is a signature returned when an error occurs.
    var signatureErr = [4]byte{'e', 'r', 'r', 0}
    
    // getSignature will return a signature that is expected to be the same across all disks.
    func (j xlMetaV2Version) getSignature() [4]byte {
    	switch j.Type {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
Back to top