Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3751 - 3760 of 6,198 for RETURN (0.27 seconds)

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

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/TransformLog4jConfigFilter.java

        private static String transform(Reader reader) throws IOException {
            final List<String> inputLines = IOUtils.readLines(reader);
            final List<String> outputLines = skipBlanks(transformConfig(inputLines));
            return String.join("\n", outputLines);
        }
    
        /** Squeeze multiple empty lines into a single line. */
        static List<String> skipBlanks(List<String> lines) {
            boolean skipNextEmpty = false;
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.4K bytes
    - Click Count (0)
  2. docs_src/wsgi/tutorial001_py310.py

    from markupsafe import escape
    
    flask_app = Flask(__name__)
    
    
    @flask_app.route("/")
    def flask_main():
        name = request.args.get("name", "World")
        return f"Hello, {escape(name)} from Flask!"
    
    
    app = FastAPI()
    
    
    @app.get("/v2")
    def read_main():
        return {"message": "Hello World"}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 426 bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java

         */
        public SrvRequestResumeKeyResponse() {
        }
    
        private byte[] resumeKey;
    
        /**
         * Gets the resume key for server-side copy operations
         * @return the resumeKey
         */
        public byte[] getResumeKey() {
            return this.resumeKey;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (3)
  4. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

            if (type.isInstance(value)) {
                return value;
            }
            try {
                final Class<?> implType = getClassForImplementationHint(type, configuration, loader);
                if (null == value && implType.isInterface() && configuration.getChildCount() == 0) {
                    return null; // nothing to process
                }
                final Object bean = instantiateObject(implType);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 17 07:40:49 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeContext.java

        }
    
        /**
         * Gets the current indentation prefix based on the current level.
         */
        private String getCurrentIndent() {
            if (indentLevel == 0) {
                return "";
            }
            return indentString.repeat(indentLevel);
        }
    
        /**
         * Logs an informational message with current indentation.
         */
        public void info(String message) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

        /**
         * Retrieves a client that matches the given URL key.
         * @param urlKey The URL key to match.
         * @return The matching CrawlerClient instance, or null if no match is found.
         */
        public CrawlerClient getClient(final String urlKey) {
            if (StringUtil.isBlank(urlKey)) {
                return null;
            }
    
            for (final Map.Entry<Pattern, CrawlerClient> entry : clientMap.entrySet()) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  7. tests/test_compat.py

        field = v2.ModelField(name="foo", field_info=field_info)
        assert field.default is Undefined
    
    
    def test_complex():
        app = FastAPI()
    
        @app.post("/")
        def foo(foo: str | list[int]):
            return foo
    
        client = TestClient(app)
    
        response = client.post("/", json="bar")
        assert response.status_code == 200, response.text
        assert response.json() == "bar"
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt

        val priorResponse = response!!.priorResponse!!
        return RecordedResponse(priorResponse.request, priorResponse, null, null, null)
      }
    
      /**
       * Asserts that the current response used the network and returns the network response.
       */
      fun networkResponse(): RecordedResponse {
        val networkResponse = response!!.networkResponse!!
        return RecordedResponse(networkResponse.request, networkResponse, null, null, null)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  9. cmd/erasure-server-pool-decom_test.go

    	nDisks := 32
    	fsDirs, err := getRandomDisks(nDisks)
    	if err != nil {
    		return nil, nil, err
    	}
    
    	pools := mustGetPoolEndpoints(0, fsDirs[:16]...)
    	pools = append(pools, mustGetPoolEndpoints(1, fsDirs[16:]...)...)
    
    	objLayer, _, err := initObjectLayer(context.Background(), pools)
    	if err != nil {
    		removeRoots(fsDirs)
    		return nil, nil, err
    	}
    	return objLayer, fsDirs, nil
    }
    
    func TestPoolMetaValidate(t *testing.T) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

            singleton(e4()),
            features,
            copyToList(getOrderedElements()),
            0) {
          @Override
          protected ListIterator<E> newTargetIterator() {
            resetCollection();
            return getList().listIterator();
          }
    
          @Override
          protected void verify(List<E> elements) {
            expectContents(elements);
          }
        }.test();
      }
    
      public void testListIterator_tooLow() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top