Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 2,994 for FALSE (0.03 sec)

  1. docs_src/security/tutorial005.py

            return UserInDB(**user_dict)
    
    
    def authenticate_user(fake_db, username: str, password: str):
        user = get_user(fake_db, username)
        if not user:
            return False
        if not verify_password(password, user.hashed_password):
            return False
        return user
    
    
    def create_access_token(data: dict, expires_delta: Union[timedelta, None] = None):
        to_encode = data.copy()
        if expires_delta:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. docs_src/security/tutorial005_an.py

            return UserInDB(**user_dict)
    
    
    def authenticate_user(fake_db, username: str, password: str):
        user = get_user(fake_db, username)
        if not user:
            return False
        if not verify_password(password, user.hashed_password):
            return False
        return user
    
    
    def create_access_token(data: dict, expires_delta: Union[timedelta, None] = None):
        to_encode = data.copy()
        if expires_delta:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FilesTest.java

        moveHelper(true, new UnmovableFile(temp1, false, true), temp2);
        assertTrue(Files.equal(temp2, i18nFile));
      }
    
      public void testMoveFailures() throws IOException {
        File temp1 = createTempFile();
        File temp2 = createTempFile();
    
        moveHelper(false, new UnmovableFile(temp1, false, false), temp2);
        moveHelper(
            false, new UnmovableFile(temp1, false, false), new UnmovableFile(temp2, true, false));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/WatchTest.java

            try ( SmbWatchHandle w = this.base.watch(FileNotifyInformation.FILE_NOTIFY_CHANGE_FILE_NAME, false) ) {
                setupWatch(w);
                try ( SmbResource cr = new SmbFile(this.base, "created") ) {
                    cr.createNewFile();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

            if (!(o instanceof Artifact)) {
                return false;
            }
    
            Artifact a = (Artifact) o;
    
            if (!a.getGroupId().equals(getGroupId())) {
                return false;
            } else if (!a.getArtifactId().equals(getArtifactId())) {
                return false;
            } else if (!a.getVersion().equals(getVersion())) {
                return false;
            } else if (!a.getType().equals(getType())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

                }
    
                @Override
                public boolean isLdapLowercasePermissionName() {
                    return false;
                }
    
                @Override
                public boolean isLdapIgnoreNetbiosName() {
                    return false;
                }
            });
            sambaHelper.init();
    
            assertEquals("1Test User", sambaHelper.getAccountId(USER_SID));
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 27 10:55:43 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. cmd/batch-rotate.go

    			// skip all objects that are newer than specified older duration
    			return false
    		}
    
    		if r.Flags.Filter.NewerThan > 0 && time.Since(info.ModTime) >= r.Flags.Filter.NewerThan {
    			// skip all objects that are older than specified newer duration
    			return false
    		}
    
    		if !r.Flags.Filter.CreatedAfter.IsZero() && r.Flags.Filter.CreatedAfter.Before(info.ModTime) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

     *
     * @param url An smb URL string representing the file to write to
     */
    
        public SmbFileOutputStream( String url ) throws SmbException, MalformedURLException, UnknownHostException {
            this( url, false );
        }
    
    /**
     * Creates an {@link java.io.OutputStream} for writing bytes to a file on
     * an SMB server represented by the {@link jcifs.smb1.smb1.SmbFile} parameter. See
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 9.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

            }
    
            ValueSource modelValueSource1 = new PrefixedObjectValueSource(PROJECT_PREFIXES, model, false);
            ValueSource modelValueSource2 = new ObjectBasedValueSource(model);
    
            ValueSource basedirValueSource = new PrefixedValueSourceWrapper(
                    new AbstractValueSource(false) {
    
                        public Object getValue(String expression) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        assertTrue(service.shutDownCalled);
      }
    
      private class WaitOnRunService extends AbstractExecutionThreadService {
        private boolean startUpCalled = false;
        private boolean runCalled = false;
        private boolean shutDownCalled = false;
        private State expectedShutdownState = State.STOPPING;
    
        @Override
        protected void startUp() {
          assertFalse(startUpCalled);
          assertFalse(runCalled);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top