Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1861 - 1870 of 3,661 for creaste (0.14 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java

        RequestBody requestBody = new MultipartBody.Builder()
            .setType(MultipartBody.FORM)
            .addFormDataPart("title", "Square Logo")
            .addFormDataPart("image", "logo-square.png",
                RequestBody.create(
                    new File("docs/images/logo-square.png"),
                    MEDIA_TYPE_PNG))
            .build();
    
        Request request = new Request.Builder()
            .header("Authorization", "Client-ID " + IMGUR_CLIENT_ID)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jun 24 12:59:42 GMT 2019
    - 2.2K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

              if (contentLength != -1) {
                System.out.format("%d%% done\n", (100 * bytesWritten) / contentLength);
              }
            }
          }
        };
    
        RequestBody requestBody = RequestBody.create(
          new File("docs/images/logo-square.png"),
          MEDIA_TYPE_PNG);
    
        Request request = new Request.Builder()
          .header("Authorization", "Client-ID " + IMGUR_CLIENT_ID)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 4.2K bytes
    - Click Count (1)
  3. guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

        suite.addTest(
            QueueTestSuiteBuilder.using(
                    new TestStringQueueGenerator() {
    
                      @Override
                      protected Queue<String> create(String[] elements) {
                        return new StandardImplForwardingQueue<>(new LinkedList<>(asList(elements)));
                      }
                    })
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  4. fastapi/.agents/skills/fastapi/references/dependencies.md

    @app.get("/users/me")
    def get_user_me(username: UserNameDep):
        return username
    ```
    
    ## Class Dependencies
    
    Avoid creating class dependencies when possible.
    
    If a class is needed, instead create a regular function dependency that returns a class instance.
    
    Do this:
    
    ```python
    from dataclasses import dataclass
    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/math/PairedStats.java

      private final Stats yStats;
      private final double sumOfProductsOfDeltas;
    
      /**
       * Internal constructor. Users should use {@link PairedStatsAccumulator#snapshot}.
       *
       * <p>To ensure that the created instance obeys its contract, the parameters should satisfy the
       * following constraints. This is the callers responsibility and is not enforced here.
       *
       * <ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

        @Test
        public void test_synchronizedFillInStackTrace() {
            // Test thread safety of fillInStackTrace method
            UserRoleLoginException exception = new UserRoleLoginException(RootAction.class);
    
            // Create multiple threads to test synchronized method
            Thread thread1 = new Thread(() -> {
                Throwable result = exception.fillInStackTrace();
                assertNull(result);
            });
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  7. src/test/resources/thumbnail/test_generate_thumbnail.sh

    TEST_DIR="${SCRIPT_DIR}"
    OUTPUT_DIR="/tmp/thumbnail_test_$$"
    
    # Color codes for output
    RED='\033[0;31m'
    GREEN='\033[0;32m'
    NC='\033[0m' # No Color
    
    # Test counters
    TESTS_PASSED=0
    TESTS_FAILED=0
    
    # Create output directory
    mkdir -p "${OUTPUT_DIR}"
    
    # Cleanup function
    cleanup() {
        rm -rf "${OUTPUT_DIR}"
    }
    trap cleanup EXIT
    
    # Test function
    run_test() {
        local test_name="$1"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

            char[] diffAtMiddle = "supersecretpXssword123456789".toCharArray();
            char[] diffAtEnd = "supersecretpassword12345678X".toCharArray();
    
            // Create authenticators
            NtlmPasswordAuthenticator baseAuth = new NtlmPasswordAuthenticator("domain", "user", new String(basePassword));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/pager/RoleTypePager.java

        public String value;
    
        /**
         * Sort order of the role type.
         */
        public String sortOrder;
    
        /**
         * The user who created the role type.
         */
        public String createdBy;
    
        /**
         * The time when the role type was created.
         */
        public String createdTime;
    
        /**
         * Version number of the role type.
         */
        public String versionNo;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/curl/io/ContentCache.java

     * <ul>
     *   <li>In-memory caching using a byte array</li>
     *   <li>File-based caching using a File object</li>
     * </ul>
     *
     * <p>When an instance of ContentCache is created with a byte array, the content is cached in memory.
     * When an instance is created with a File object, the content is cached in the specified file.
     *
     * <p>The {@code close()} method deletes the file if the content is cached in a file.
     *
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 4.8K bytes
    - Click Count (0)
Back to Top