Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2891 - 2900 of 7,014 for _return (0.06 sec)

  1. docs_src/security/tutorial004_an_py310.py

    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
        return pwd_context.verify(plain_password, hashed_password)
    
    
    def get_password_hash(password):
        return pwd_context.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    def authenticate_user(fake_db, username: str, password: str):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. cni/pkg/ipset/nldeps_mock.go

    type MockedIpsetDeps struct {
    	mock.Mock
    }
    
    func FakeNLDeps() *MockedIpsetDeps {
    	return &MockedIpsetDeps{}
    }
    
    func (m *MockedIpsetDeps) ipsetIPHashCreate(name string, v6 bool) error {
    	args := m.Called(name, v6)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) destroySet(name string) error {
    	args := m.Called(name)
    	return args.Error(0)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilder.java

            return this;
        }
    
        public SuggestSettingsBuilder addInitialSettings(final String key, final Object value) {
            initialSettings.put(key, value);
            return this;
        }
    
        public SuggestSettingsBuilder scrollTimeout(final String timeout) {
            timeoutSettings.scrollTimeout = timeout;
            return this;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java

         *
         * @param beanClass
         *            パラメータ化された型(クラスまたはインタフェース)。{@literal null}であってはいけません
         * @return パラメータ化された型が持つ型変数をキー、型引数を値とする{@link Map}
         */
        public static Map<TypeVariable<?>, Type> getTypeVariables(final Class<?> beanClass) {
            assertArgumentNotNull("beanClass", beanClass);
    
            return getTypeVariableMap(beanClass);
        }
    
        /**
         * フィールドの型を表現する{@link ParameterizedClassDesc}を作成して返します。
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                return false;
            }
    
            // url filter
            if (crawlerContext.urlFilter.match(urlQueue.getUrl())) {
                return true;
            }
    
            return false;
        }
    
        public boolean isNoWaitOnFolder() {
            return noWaitOnFolder;
        }
    
        public void setNoWaitOnFolder(final boolean noWaitOnFolder) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableEnumSet.java

      static <E> ImmutableSet<E> asImmutable(Set<E> delegate) {
        switch (delegate.size()) {
          case 0:
            return ImmutableSet.of();
          case 1:
            return ImmutableSet.of(Iterables.getOnlyElement(delegate));
          default:
            return new ImmutableEnumSet<E>(delegate);
        }
      }
    
      public ImmutableEnumSet(Set<E> delegate) {
        super(delegate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/Platform.java

      static String format(String template, Object... args) {
        return String.format(Locale.ROOT, template, args);
      }
    
      /** See {@link ListListIteratorTester} */
      static int listListIteratorTesterNumIterations() {
        return 4;
      }
    
      /** See {@link CollectionIteratorTester} */
      static int collectionIteratorTesterNumIterations() {
        return 5;
      }
    
      private Platform() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProvider.java

        @Override
        protected String getTimeAdjustTimeMillis() {
            return fessConfig.getTimeAdjustTimeMillis();
        }
    
        @Override
        protected Long getTimeAdjustTimeMillisAsLong() {
            return fessConfig.getTimeAdjustTimeMillisAsLong();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

                        return mirror;
                    }
                }
    
                for (Mirror mirror : mirrors) {
                    if (matchPattern(repository, mirror.getMirrorOf()) && matchesLayout(repository, mirror)) {
                        return mirror;
                    }
                }
            }
    
            return null;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsAccessTokenCB.java

        @Override
        public AccessTokenDbm asDBMeta() {
            return AccessTokenDbm.getInstance();
        }
    
        @Override
        public String asTableDbName() {
            return "access_token";
        }
    
        @Override
        public boolean hasSpecifiedColumn() {
            return _specification != null;
        }
    
        @Override
        public ConditionQuery localCQ() {
            return doGetConditionQuery();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top