Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1181 - 1190 of 3,374 for get3 (0.07 seconds)

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

  1. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        assertThat(iia.get(0)).isEqualTo(0L);
        assertThat(iia.get(2)).isEqualTo(3L);
        assertThat(iia.subArray(1, 3).get(1)).isEqualTo(3L);
      }
    
      public void testGet_bad() {
        ImmutableLongArray iia = ImmutableLongArray.of(0, 1, 3);
        assertThrows(IndexOutOfBoundsException.class, () -> iia.get(-1));
        assertThrows(IndexOutOfBoundsException.class, () -> iia.get(3));
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  2. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

        } catch (e: IOException) {
          Platform.get().log("Saving cookies failed for " + url.resolve("/...")!!, WARN, e)
        }
      }
    
      override fun loadForRequest(url: HttpUrl): List<Cookie> {
        val cookieHeaders =
          try {
            // The RI passes all headers. We don't have 'em, so we don't pass 'em!
            cookieHandler.get(url.toUri(), emptyMap<String, List<String>>())
          } catch (e: IOException) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

        }
      }
    
      // Tests that there are no duplicate HTTP header names
      public void testNoDuplicateFields() throws Exception {
        ImmutableList.Builder<String> httpHeaders = ImmutableList.builder();
        for (Field field : httpHeadersFields()) {
          httpHeaders.add((String) field.get(null));
        }
        assertThat(httpHeaders.build()).containsNoDuplicates();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  4. docs_src/security/tutorial003_an_py310.py

            raise HTTPException(status_code=400, detail="Inactive user")
        return current_user
    
    
    @app.post("/token")
    async def login(form_data: Annotated[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.5K bytes
    - Click Count (0)
  5. ci/official/containers/ml_build/setup.sources.sh

    #
    # Sets up custom apt sources for our TF images.
    
    # Prevent apt install tzinfo from asking our location (assumes UTC)
    export DEBIAN_FRONTEND=noninteractive
    
    # Set up shared custom sources
    apt-get update
    apt-get install -y gnupg ca-certificates
    
    # Deadsnakes: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F23C5A6CF475977595C89F51BA6932366A755776
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Oct 03 21:13:05 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy

                return null
            }
    
            JApiMethod method = (JApiMethod) member
    
            def metadata = KotlinMetadataQueries.INSTANCE
    
            def oldMethod = method.oldMethod.get()
            def newMethod = method.newMethod.get()
    
            def oldIsOperator = metadata.isKotlinOperatorFunction(oldMethod)
            def newIsOperator = metadata.isKotlinOperatorFunction(newMethod)
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                        Authentication result = new Authentication(
                                authCtx.get(AuthenticationContext.USERNAME), authCtx.get(AuthenticationContext.PASSWORD));
                        result.setPrivateKey(authCtx.get(AuthenticationContext.PRIVATE_KEY_PATH));
                        result.setPassphrase(authCtx.get(AuthenticationContext.PRIVATE_KEY_PASSPHRASE));
                        authCtx.close();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

                        form.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s))
                                .filter(StringUtil::isNotBlank)
                                .distinct()
                                .collect(Collectors.joining("\n")));
                        form.virtualHosts = stream(entity.getVirtualHosts())
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/s3/S3ClientTest.java

                assertEquals("file1", new String(InputStreamUtil.getBytes(responseData.getResponseBody())));
                assertEquals(5, responseData.getContentLength());
                assertEquals("label1", responseData.getMetaDataMap().get("label"));
            }
            try (final ResponseData responseData = s3Client.doGet("s3://fess/dir1/file2.txt")) {
                assertEquals("s3://fess/dir1/file2.txt", responseData.getUrl());
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 07:57:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  10. docs_src/dependencies/tutorial001_py310.py

    app = FastAPI()
    
    
    async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return commons
    
    
    @app.get("/users/")
    async def read_users(commons: dict = Depends(common_parameters)):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 404 bytes
    - Click Count (0)
Back to Top