Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 67 for Chen (0.15 sec)

  1. tests/migrate_test.go

    	}
    
    	if err := DB.Migrator().CreateIndex(&IndexStruct{}, "Name"); err != nil {
    		t.Fatalf("Got error when tried to create index: %+v", err)
    	}
    
    	if err := DB.Migrator().RenameIndex(&IndexStruct{}, "idx_index_structs_name", "idx_users_name_1"); err != nil {
    		t.Fatalf("no error should happen when rename index, but got %v", err)
    	}
    
    	if !DB.Migrator().HasIndex(&IndexStruct{}, "idx_users_name_1") {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    			return nil, time.Time{}, err
    		}
    		policy, _ = c.iamGroupPolicyMap.Load(name)
    		return policy.toSlice(), policy.UpdatedAt, nil
    	}
    
    	// When looking for a user's policies, we also check if the user
    	// and the groups they are member of are enabled.
    	u, ok := c.iamUsersMap[name]
    	if ok {
    		if !u.Credentials.IsValid() {
    			return nil, time.Time{}, nil
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. 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)
  4. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        private static boolean isTestPathElement(final String scope) {
            return true;
        }
    
        /**
         * Returns a filtered list of classpath elements. This method is invoked when the caller
         * requested that all dependencies are placed on the classpath, with no module-path element.
         *
         * @param scopeFilter a filter returning {@code true} for the artifact scopes to accept.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  5. 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)
  6. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

      ) {
        val actual = source!!.buffer().readUtf8()
        assertThat(actual).isEqualTo(expected)
      }
    
      /**
       * Returns true when all work currently in progress by the watchdog have completed. This method
       * creates more work for the watchdog and waits for that work to be executed. When it is, we know
       * work that preceded this call is complete.
       */
      private fun awaitWatchdogIdle() {
        val latch = CountDownLatch(1)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                        // version skew drop back to resolution from the repository
                        return null;
                    }
    
                    // Validate versions aren't inherited when using parent ranges the same way as when read externally.
                    String rawChildModelVersion = childModel.getVersion();
    
                    if (rawChildModelVersion == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  8. 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)
  9. cmd/api-errors.go

    	},
    	ErrSiteReplicationPeerResp: {
    		Code:           "XMinioSiteReplicationPeerResp",
    		Description:    "Error received when contacting a peer site",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSiteReplicationBackendIssue: {
    		Code:           "XMinioSiteReplicationBackendIssue",
    		Description:    "Error when requesting object layer backend",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  10. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                // a task to finish, then execute another one which waits
                // for the initial task...
                // In order to work around that problem, we override the
                // invokeAll method, so that whenever the method is called,
                // the pool core size will be incremented before submitting
                // all the tasks, then the thread will block waiting for all
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
Back to top