Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 7,250 for return (0.06 sec)

  1. internal/config/compress/compress.go

    	for _, e := range includes {
    		if len(e) == 0 {
    			return nil, config.ErrInvalidCompressionIncludesValue(nil).Msg("extension/mime-type cannot be empty")
    		}
    		if e == "/" {
    			return nil, config.ErrInvalidCompressionIncludesValue(nil).Msg("extension/mime-type cannot be '/'")
    		}
    	}
    	return includes, nil
    }
    
    // LookupConfig - lookup compression config.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsScheduledJobCB.java

        public ScheduledJobDbm asDBMeta() {
            return ScheduledJobDbm.getInstance();
        }
    
        @Override
        public String asTableDbName() {
            return "scheduled_job";
        }
    
        @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.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsWebAuthenticationCB.java

        public WebAuthenticationDbm asDBMeta() {
            return WebAuthenticationDbm.getInstance();
        }
    
        @Override
        public String asTableDbName() {
            return "web_authentication";
        }
    
        @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.5K bytes
    - Viewed (0)
  4. docs_src/security/tutorial005.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
    - 5.2K bytes
    - Viewed (0)
  5. docs_src/security/tutorial005_an.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
    - 5.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

            return false;
          }
        }
        return false;
      }
    
      /**
       * Returns an unmodifiable view of the specified navigable set. This method allows modules to
       * provide users with "read-only" access to internal navigable sets. Query operations on the
       * returned set "read through" to the specified set, and attempts to modify the returned set,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterables.java

          if (c.isEmpty()) {
            return defaultValue;
          } else if (iterable instanceof List) {
            return getLastInNonemptyList(Lists.cast(iterable));
          }
        }
    
        return Iterators.getLast(iterable.iterator(), defaultValue);
      }
    
      @ParametricNullness
      private static <T extends @Nullable Object> T getLastInNonemptyList(List<T> list) {
        return list.get(list.size() - 1);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/Encdec.java

            case TIME_1970_SEC_32BE:
                return new Date(dec_uint32be(src, si) * 1000L);
            case TIME_1970_SEC_32LE:
                return new Date(dec_uint32le(src, si) * 1000L);
            case TIME_1904_SEC_32BE:
                return new Date( ( ( dec_uint32be(src, si) & 0xFFFFFFFFL ) - SEC_BETWEEEN_1904_AND_1970 ) * 1000L);
            case TIME_1904_SEC_32LE:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

            }
            if (result && os.getVersion() != null) {
                result = determineVersionMatch(os.getVersion());
            }
            return result;
        }
    
        private boolean ensureAtLeastOneNonNull(ActivationOS os) {
            return os.getArch() != null || os.getFamily() != null || os.getName() != null || os.getVersion() != null;
        }
    
        private boolean determineVersionMatch(String version) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/informers.go

    	ns := s.namespaces.Get(podNamespace, "")
    	if ns == nil {
    		return nil, fmt.Errorf("failed to find namespace %v", ns)
    	}
    	pod := s.pods.Get(podName, podNamespace)
    	if pod == nil {
    		return nil, fmt.Errorf("failed to find pod %v", ns)
    	}
    	if util.PodRedirectionEnabled(ns, pod) {
    		return pod, nil
    	}
    	return nil, nil
    }
    
    func (s *InformerHandlers) Start() {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top