Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 6351 - 6360 of 7,804 for RETURN (0.06 seconds)

  1. tests/test_security_http_bearer_description.py

    app = FastAPI()
    
    security = HTTPBearer(description="HTTP Bearer token scheme")
    
    
    @app.get("/users/me")
    def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)):
        return {"scheme": credentials.scheme, "credentials": credentials.credentials}
    
    
    client = TestClient(app)
    
    
    def test_security_http_bearer():
        response = client.get("/users/me", headers={"Authorization": "Bearer foobar"})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

      private static final String GOOD_CALLABLE_RESULT = "good callable result";
      private static final Callable<String> GOOD_CALLABLE =
          () -> {
            MILLISECONDS.sleep(DELAY_MS);
            return GOOD_CALLABLE_RESULT;
          };
      private static final Callable<String> BAD_CALLABLE =
          () -> {
            MILLISECONDS.sleep(DELAY_MS);
            throw new SampleException();
          };
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java

                this.name = name;
            }
    
            @Override
            protected String getName() {
                return name;
            }
    
            @Override
            public Object evaluate(String template, Map<String, Object> paramMap) {
                // Simple implementation for testing
                return "processed: " + template + " with params";
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

                // Expected when container is not initialized
                if (e.getMessage().contains("Not initialized")) {
                    // Skip test when container is not available
                    return;
                }
                throw e;
            }
        }
    
        private void assertImageSize(File file, int width, int height) throws IOException {
            BufferedImage img = ImageIO.read(file);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiPartOfSpeechFilterFactory.java

            } else {
                stopTags.addAll(JapaneseAnalyzer.getDefaultStopTags());
            }
        }
    
        @Override
        public TokenStream create(TokenStream tokenStream) {
            return new JapanesePartOfSpeechStopFilter(tokenStream, stopTags);
        }
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/eventbus/outside/NeitherAbstractNorAnnotatedInSuperclassTest.java

      }
    
      public void testOverriddenAndAnnotatedInSubclass() {
        assertThat(getSubscriber().overriddenAndAnnotatedInSubclassEvents).contains(EVENT);
      }
    
      @Override
      SubClass createSubscriber() {
        return new SubClass();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/fscc/FileInformation.java

        /**
         * File rename information class constant.
         */
        byte FILE_RENAME_INFO = 10;
    
        /**
         * Gets the file information level/class for this file information object.
         *
         * @return the file information class
         */
        byte getFileInformationLevel();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. internal/config/etcd/help.go

    package etcd
    
    import "github.com/minio/minio/internal/config"
    
    // etcd config documented in default config
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         Endpoints,
    			Description: `comma separated list of etcd endpoints` + defaultHelpPostfix(Endpoints),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 27 03:11:37 GMT 2022
    - 2.1K bytes
    - Click Count (0)
  9. internal/config/heal/help.go

    package heal
    
    import "github.com/minio/minio/internal/config"
    
    // Help template for caching feature.
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	// Help provides help for config values
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         Bitrot,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 1.8K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/common/BuildScanUtils.kt

        val customValues =
            if (testCoverage != null) {
                listOf(testCoverage.asBuildScanCustomValue()) + getBuildScanCustomValues()
            } else {
                getBuildScanCustomValues()
            }
        return "-DbuildScan.PartOf=${customValues.joinToString(",")}"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jun 10 05:45:46 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top