Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 845 for currentCL (0.11 sec)

  1. tests/delete_test.go

    	}
    
    	var count int64
    	DB.Model(&User{}).Where("name IN ?", []string{users[0].Name, users[1].Name, users[2].Name}).Count(&count)
    	if count != 1 {
    		t.Errorf("failed to delete data, current count %v", count)
    	}
    }
    
    func TestDeleteReturning(t *testing.T) {
    	if DB.Dialector.Name() != "sqlite" && DB.Dialector.Name() != "postgres" && DB.Dialector.Name() != "sqlserver" {
    		return
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 07:03:34 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  2. cmd/xl-storage-meta-inline.go

    	}
    
    	if !data.versionOK() {
    		*x = nil
    		return
    	}
    
    	sz, buf, err := msgp.ReadMapHeaderBytes(data.afterVersion())
    	if err != nil {
    		*x = nil
    		return
    	}
    
    	// Remove all current data
    	keys := make([][]byte, 0, sz)
    	vals := make([][]byte, 0, sz)
    	for i := uint32(0); i < sz; i++ {
    		var key, val []byte
    		key, buf, err = msgp.ReadMapKeyZC(buf)
    		if err != nil {
    			break
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

            if (shouldStop) {
              break;
            }
            interruptee.interrupt();
          }
        }
    
        void stopInterrupting() {
          shouldStop = true;
        }
      }
    
      /** Interrupts the current thread after sleeping for the specified delay. */
      static void requestInterruptIn(final long time, final TimeUnit unit) {
        checkNotNull(unit);
        final Thread interruptee = Thread.currentThread();
        new Thread(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  4. cmd/update-notifier.go

    func prepareUpdateMessage(downloadURL string, older time.Duration) string {
    	if downloadURL == "" || older <= 0 {
    		return ""
    	}
    
    	// Compute friendly duration string to indicate time
    	// difference between newer and current release.
    	t := time.Time{}
    	newerThan := humanize.RelTime(t, t.Add(older), "before the latest release", "")
    
    	if globalServerCtxt.JSON {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    	defer xioutil.SafeClose(updates)
    	var lc *lifecycle.Lifecycle
    
    	// Check if the current bucket has a configured lifecycle policy
    	if globalLifecycleSys != nil {
    		lc, err = globalLifecycleSys.Get(cache.Info.Name)
    		if err == nil && lc.HasActiveRules("") {
    			cache.Info.lifeCycle = lc
    		}
    	}
    
    	// Check if the current bucket has replication configuration
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/Kerb5Authenticator.java

        }
    
    
        /**
         * Get lifetime of current user.
         *
         * @return the remaining lifetime in seconds. If the default lifetime is
         *         used, this value have no meaning.
         *
         */
        public int getUserLifeTime () {
            return this.userLifetime;
        }
    
    
        /**
         * Set lifetime of current user.
         *
         * @param time
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13K bytes
    - Viewed (0)
  7. .github/DISCUSSION_TEMPLATE/questions.yml

        attributes:
          label: Description
          description: |
            What is the problem, question, or error?
    
            Write a short description telling me what you are doing, what you expect to happen, and what is currently happening.
          placeholder: |
            * Open the browser and call the endpoint `/`.
            * It returns a JSON with `{"Hello": "World"}`.
            * But I expected it to return `{"Hello": "Sara"}`.
        validations:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 03 15:59:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

    import org.codehaus.plexus.logging.AbstractLogEnabled;
    
    /**
     * Describes a version transformation during artifact resolution.
     *
     * TODO try and refactor to remove abstract methods - not particular happy about current design
     */
    @Deprecated
    public abstract class AbstractVersionTransformation extends AbstractLogEnabled implements ArtifactTransformation {
        @Inject
        protected RepositoryMetadataManager repositoryMetadataManager;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. docs_src/security/tutorial005.py

        hashed_password: str
    
    
    pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
    
    oauth2_scheme = OAuth2PasswordBearer(
        tokenUrl="token",
        scopes={"me": "Read information about the current user.", "items": "Read items."},
    )
    
    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
        return pwd_context.verify(plain_password, hashed_password)
    
    
    def get_password_hash(password):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. docs_src/security/tutorial005_an.py

        hashed_password: str
    
    
    pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
    
    oauth2_scheme = OAuth2PasswordBearer(
        tokenUrl="token",
        scopes={"me": "Read information about the current user.", "items": "Read items."},
    )
    
    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
        return pwd_context.verify(plain_password, hashed_password)
    
    
    def get_password_hash(password):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top