Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2621 - 2630 of 4,517 for getA (0.02 seconds)

  1. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/PrecommitTask.java

    import java.nio.file.StandardOpenOption;
    
    public class PrecommitTask extends DefaultTask {
    
        @OutputFile
        public File getSuccessMarker() {
            return new File(getProjectLayout().getBuildDirectory().getAsFile().get(), "markers/" + this.getName());
        }
    
        @TaskAction
        public void writeMarker() throws IOException {
            Files.write(getSuccessMarker().toPath(), new byte[] {}, StandardOpenOption.CREATE);
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.2K bytes
    - Click Count (0)
  2. docs_src/security/tutorial007_an_py310.py

                status_code=status.HTTP_401_UNAUTHORIZED,
                detail="Incorrect username or password",
                headers={"WWW-Authenticate": "Basic"},
            )
        return credentials.username
    
    
    @app.get("/users/me")
    def read_current_user(username: Annotated[str, Depends(get_current_username)]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  3. docs/tr/docs/alternatives.md

    Kullanımı çok basittir. Örneğin bir `GET` isteği yapmak için:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    Buna karşılık bir FastAPI API *path operation*’ı şöyle olabilir:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    `requests.get(...)` ile `@app.get(...)` arasındaki benzerliklere bakın.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 24K bytes
    - Click Count (0)
  4. module-tests/src/main/java/okhttp3/modules/Main.java

    import okhttp3.Call;
    import okhttp3.HttpUrl;
    
    import java.io.IOException;
    
    public class Main {
      public static void main(String[] args) throws IOException {
        Call call = OkHttpCaller.callOkHttp(HttpUrl.get("https://square.com/robots.txt"));
    
        System.out.println(call.execute().body().string());
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 934 bytes
    - Click Count (0)
  5. okhttp-brotli/src/main/kotlin/okhttp3/brotli/Brotli.kt

    import okio.BufferedSource
    import okio.Source
    import okio.source
    import org.brotli.dec.BrotliInputStream
    
    object Brotli : CompressionInterceptor.DecompressionAlgorithm {
      override val encoding: String get() = "br"
    
      override fun decompress(compressedSource: BufferedSource): Source = BrotliInputStream(compressedSource.inputStream()).source()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 15:15:28 GMT 2025
    - 1010 bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            FacetQueryView view1 = list.get(0);
            assertEquals("labels.facet_timestamp_title", view1.getTitle());
            assertEquals(4, view1.getQueryMap().size());
            FacetQueryView view2 = list.get(1);
            assertEquals("labels.facet_contentLength_title", view2.getTitle());
            assertEquals(5, view2.getQueryMap().size());
            FacetQueryView view3 = list.get(2);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    Item lastItem = get(i);
    
                    if (lastItem.isNull()) {
                        if (i == size() - 1 || get(i + 1).getType() == STRING_ITEM) {
                            remove(i);
                        } else if (get(i + 1).getType() == LIST_ITEM) {
                            Item item = ((ListItem) get(i + 1)).get(0);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                closeFlagsField.setAccessible(true);
                assertEquals(1, closeFlagsField.get(response));
    
                Field creationTimeField = Smb2CloseResponse.class.getDeclaredField("creationTime");
                creationTimeField.setAccessible(true);
                assertEquals(SMBUtil.readTime(buffer, 8), creationTimeField.get(response));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/exception/DataStoreCrawlingException.java

            super(message, cause);
            this.url = url;
            this.abort = abort;
        }
    
        /**
         * Gets the URL where the crawling error occurred.
         *
         * @return the URL associated with this exception
         */
        public String getUrl() {
            return url;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Nov 19 08:04:23 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/util/JvmUtil.java

                } else if (v == version) {
                    return matcher.group(3);
                }
                return null;
            }).filter(s -> s != null).toArray(n -> new String[n]);
        }
    
        /**
         * Gets the major version number of the current Java runtime.
         * For Java 8 and below, returns the minor version (e.g., 8 for Java 1.8).
         * For Java 9 and above, returns the major version (e.g., 11 for Java 11).
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top