Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1771 - 1780 of 4,245 for get3 (0.06 seconds)

  1. docs_src/security/tutorial003_py310.py

            raise HTTPException(status_code=400, detail="Inactive user")
        return current_user
    
    
    @app.post("/token")
    async def login(form_data: OAuth2PasswordRequestForm = Depends()):
        user_dict = fake_users_db.get(form_data.username)
        if not user_dict:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
        user = UserInDB(**user_dict)
        hashed_password = fake_hash_password(form_data.password)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts

            if (testVersionProvider.get().canCompileOrRun(9)) {
                listOf("--add-opens", "java.base/java.lang=ALL-UNNAMED")
            } else {
                emptyList()
            }
        })
        jvmArgumentProviders.add(CommandLineArgumentProvider {
            val testVersion = testVersionProvider.get()
            if (testVersion.canCompileOrRun(9) && !testVersion.canCompileOrRun(17)) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Apr 11 20:15:47 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  3. docs/ru/docs/index.md

    * Валидировать наличие `item_id` в пути для `GET` и `PUT` запросов.
    * Валидировать, что `item_id` имеет тип `int` для `GET` и `PUT` запросов.
        * Если это не так, клиент увидит полезную понятную ошибку.
    * Проверять, есть ли необязательный параметр запроса с именем `q` (например, `http://127.0.0.1:8000/items/foo?q=somequery`) для `GET` запросов.
        * Поскольку параметр `q` объявлен с `= None`, он необязателен.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 21:25:03 GMT 2025
    - 32K bytes
    - Click Count (0)
  4. src/cmd/asm/internal/asm/testdata/amd64dynlinkerror.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test to make sure that if we use R15 after it is clobbered by
    // a global variable access while dynamic linking, we get an error.
    // See issue 43661.
    
    TEXT ·a1(SB), 0, $0-0
    	CMPL runtime·writeBarrier(SB), $0
    	MOVL $0, R15
    	RET
    TEXT ·a2(SB), 0, $0-0
    	CMPL runtime·writeBarrier(SB), $0
    	MOVQ $0, R15
    	RET
    TEXT ·a3(SB), 0, $0-0
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 20 19:05:03 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

        }
    
        @Test
        @DisplayName("Should set and get lease state")
        void testLeaseStateAccessors() {
            int newState = Smb2LeaseState.SMB2_LEASE_FULL;
    
            leaseContext.setLeaseState(newState);
            assertEquals(newState, leaseContext.getLeaseState());
        }
    
        @Test
        @DisplayName("Should set and get lease flags")
        void testLeaseFlagsAccessors() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

      @SuppressWarnings("unchecked") // value could not get in if not a T
      private <T extends B> @Nullable T trustedPut(
          TypeToken<@NonNull T> type, @ParametricNullness T value) {
        return (T) backingMap.put(type, value);
      }
    
      @SuppressWarnings("unchecked") // value could not get in if not a T
      private <T extends @NonNull B> @Nullable T trustedGet(TypeToken<T> type) {
        return (T) backingMap.get(type);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

            }
        }
    
        /**
         * Performs a GET request.
         * @param url The URL to request.
         * @return The ResponseData.
         */
        protected ResponseData doGet(final String url) {
            throw new CrawlerSystemException("GET method is not supported.");
        }
    
        /**
         * Performs a HEAD request.
         * @param url The URL to request.
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Sep 06 04:15:37 GMT 2025
    - 9.7K bytes
    - Click Count (10)
  9. guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      public void testOf() {
        assertEquals("training", Optional.of("training").get());
      }
    
      public void testOf_null() {
        assertThrows(NullPointerException.class, () -> Optional.of(null));
      }
    
      public void testFromNullable() {
        Optional<String> optionalName = Optional.fromNullable("bob");
        assertEquals("bob", optionalName.get());
      }
    
      public void testFromNullable_null() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java

                            "The artifact {} has been relocated to {}{}",
                            result.getRelocations().get(0),
                            pluginArtifact,
                            message);
                }
    
                String requiredMavenVersion = (String) result.getProperties().get("prerequisites.maven");
                if (requiredMavenVersion != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 15:32:43 GMT 2025
    - 12.3K bytes
    - Click Count (0)
Back to Top