Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1741 - 1750 of 2,530 for api (0.01 sec)

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

          /*
           * We're probably running on Android.
           *
           * A note on exception types:
           *
           * Android API level 10 throws ExceptionInInitializerError the first time and
           * ClassNotFoundException thereafter.
           *
           * Android API level 26 and JVM8 both let our Error propagate directly the first time and
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. cmd/naughty-disk_test.go

    // Programmed errors are stored in errors field.
    type naughtyDisk struct {
    	// The real disk
    	disk StorageAPI
    	// Programmed errors: API call number => error to return
    	errors map[int]error
    	// The error to return when no error value is programmed
    	defaultErr error
    	// The current API call number
    	callNR int
    	// Data protection
    	mu sync.Mutex
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

    import okio.Buffer
    import okio.BufferedSink
    import okio.ByteString.Companion.decodeBase64
    import org.junit.jupiter.api.Assertions.fail
    import org.junit.jupiter.api.Assumptions
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class HttpLoggingInterceptorTest {
      @RegisterExtension
      val platform = PlatformRule()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http/StatusLineTest.kt

    import assertk.assertions.isEqualTo
    import java.net.ProtocolException
    import kotlin.test.assertFailsWith
    import okhttp3.Protocol
    import okhttp3.internal.http.StatusLine.Companion.parse
    import org.junit.jupiter.api.Test
    
    class StatusLineTest {
      @Test
      fun parse() {
        val message = "Temporary Redirect"
        val version = 1
        val code = 200
        val statusLine = parse("HTTP/1.$version $code $message")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. mkdocs.yml

        - 'Security': security/security.md
        - 'Providers': security/security_providers.md
        - 'Configuration History': security/tls_configuration_history.md
      - 'Works with OkHttp': works_with_okhttp.md
      - 'API': 5.x/okhttp/okhttp3/
      - 'Change Logs':
        - 'Change Log': changelogs/changelog.md
        - '4.x Change Log': changelogs/changelog_4x.md
        - 'Upgrading to OkHttp 4': changelogs/upgrading_to_okhttp_4.md
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Nov 20 15:26:12 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java

    /**
     * Determines profile activation based on the existence or value of some execution property.
     *
     * @see ActivationProperty
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Named("property")
    @Singleton
    @Deprecated(since = "4.0.0")
    public class PropertyProfileActivator implements ProfileActivator {
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java

    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    import java.nio.file.Files;
    import java.util.Map;
    import java.util.Objects;
    
    import org.apache.maven.api.toolchain.InputSource;
    import org.apache.maven.toolchain.model.PersistedToolchains;
    import org.apache.maven.toolchain.v4.MavenToolchainsStaxReader;
    
    /**
     * Handles deserialization of toolchains from the default textual format.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. docs/sts/web-identity.py

        tokens = json.loads(id_token_response.text)
        id_token = tokens['id_token']
    
        response = sts_client.assume_role_with_web_identity(
            RoleArn='arn:aws:iam::123456789012:user/svc-internal-api',
            RoleSessionName='test',
            WebIdentityToken=id_token,
            DurationSeconds=3600
        )
    
        s3_resource = boto3.resource('s3',
                                     endpoint_url='http://localhost:9000',
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 28 01:37:51 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/MavenBuildTimestamp.java

    import java.util.Date;
    import java.util.GregorianCalendar;
    import java.util.Map;
    import java.util.Properties;
    import java.util.TimeZone;
    
    /**
     * MavenBuildTimestamp
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class MavenBuildTimestamp {
        // ISO 8601-compliant timestamp for machine readability
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/PrefixedObjectValueSource.java

     * wraps that source with a {@link PrefixedValueSourceWrapper} instance, to which
     * this class delegates all of its calls.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class PrefixedObjectValueSource extends AbstractDelegatingValueSource implements QueryEnabledValueSource {
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top