Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2821 - 2830 of 5,381 for If (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. fastapi/security/api_key.py

                detail="Not authenticated",
                headers={"WWW-Authenticate": "APIKey"},
            )
    
        def check_api_key(self, api_key: str | None) -> str | None:
            if not api_key:
                if self.auto_error:
                    raise self.make_not_authenticated_error()
                return None
            return api_key
    
    
    class APIKeyQuery(APIKeyBase):
        """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 9.6K bytes
    - Click Count (1)
  2. api/maven-api-model/src/main/mdo/maven.mdo

                <li>{@code contains(string, substring)}: Checks if the string contains the substring.</li>
                <li>{@code matches(string, regex)}: Checks if the string matches the given regular expression.</li>
                <li>{@code not(condition)}: Negates the given condition.</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 17 09:48:21 GMT 2026
    - 133.5K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        List<Object> samples = sampleInstances.get(rawType);
        Object sample = pickInstance(samples, null);
        if (sample != null) {
          return sample;
        }
        if (rawType.isEnum()) {
          return pickInstance(rawType.getEnumConstants(), null);
        }
        if (type.isArray()) {
          TypeToken<?> componentType = requireNonNull(type.getComponentType());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

                  notifyStarted();
                } catch (Throwable t) {
                  restoreInterruptIfIsInterruptedException(t);
                  notifyFailed(t);
                  if (runningTask != null) {
                    // prevent the task from running if possible
                    runningTask.cancel(false);
                  }
                } finally {
                  lock.unlock();
                }
              });
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  5. README.md

    - Solr: <https://gitbox.apache.org/repos/asf/solr.git>
    
    If you're seeing this message then switch the development to 'main':
    git checkout main
    
    Development for branch 8x remains in the shared repository:
    
    - https://gitbox.apache.org/repos/asf/lucene-solr.git
    
    ## GitHub forks?
    
    If you are using GitHub, make a clone of the corresponding repository
    Created: Wed Apr 01 00:11:11 GMT 2026
    - Last Modified: Wed Mar 10 10:02:23 GMT 2021
    - 1.5K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/PathTranslator.java

         * platform-specific file separator if a base directory is given. Otherwise, the input path will be returned
         * unaltered.
         *
         * @param path The path to resolve, may be {@code null}.
         * @param basedir The base directory to resolve relative paths against, may be {@code null}.
         * @return The resolved path or {@code null} if the input path was {@code null}.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. docs_src/dependencies/tutorial006_py310.py

    from fastapi import Depends, FastAPI, Header, HTTPException
    
    app = FastAPI()
    
    
    async def verify_token(x_token: str = Header()):
        if x_token != "fake-super-secret-token":
            raise HTTPException(status_code=400, detail="X-Token header invalid")
    
    
    async def verify_key(x_key: str = Header()):
        if x_key != "fake-super-secret-key":
            raise HTTPException(status_code=400, detail="X-Key header invalid")
        return x_key
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 583 bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            for (ProtwordsItem item : list) {
                String input = item.getInput();
                if (input.contains("test") && input.contains("t1")) {
                    foundTab = true;
                } else if (input.contains("test") && input.contains("n2")) {
                    foundNewline = true;
                } else if (input.equals("test3")) {
                    foundTest3 = true;
                }
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  9. cmd/kms-router.go

    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"net/http"
    
    	"github.com/klauspost/compress/gzhttp"
    	"github.com/klauspost/compress/gzip"
    	"github.com/minio/minio/internal/logger"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 07 23:55:37 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

            logger = LogManager.getLogger(loggerName);
            final String logFormat = ComponentUtil.getFessConfig().getAppAuditLogFormat();
            if (StringUtil.isBlank(logFormat)) {
                useEcsFormat = "docker".equals(getEnvMap().get("FESS_APP_TYPE"));
            } else if ("ecs".equals(logFormat)) {
                useEcsFormat = true;
            }
        }
    
        /**
         * Get the environment map.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 11:45:43 GMT 2026
    - 13.1K bytes
    - Click Count (0)
Back to Top