Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for bomb (2.48 sec)

  1. okhttp-brotli/src/main/kotlin/okhttp3/brotli/internal/DecompressionBombChecker.kt

            if (result != -1L) {
              outputByteCount += result
    
              if (outputByteCount > inputByteCount * maxRatio) {
                throw IOException(
                  "decompression bomb? outputByteCount=$outputByteCount, " +
                    "inputByteCount=$inputByteCount exceeds max ratio of $maxRatio",
                )
              }
            }
    
            return result
          }
        }
      }
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 29 22:50:20 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliBombTest.kt

        assertFailure {
          uncompressed.body.string()
        }.isInstanceOf<IOException>()
          .message()
          .isNotNull()
          .matches(
            Regex(
              "decompression bomb\\? outputByteCount=\\d+, inputByteCount=\\d+ exceeds max ratio of 100",
            ),
          )
      }
    
      /** Returns a ByteString that expands to 10 GiB when Brotli-decompressed. */
      private fun readBrotli10G(): ByteString {
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 29 22:50:20 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. maven-core/src/test/remote-repo/org/apache/maven/its/bom/0.1/bom-0.1.pom

        <modelVersion>4.0.0</modelVersion>
    
        <groupId>org.apache.maven.its</groupId>
        <artifactId>bom</artifactId>
        <version>0.1</version>
        <packaging>pom</packaging>
    
        <name>Maven Integration Test :: Dummy BOM</name>
    
        <dependencyManagement>
            <dependencies>
                <dependency>
                    <groupId>org.apache.maven.its</groupId>
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Dec 29 13:02:33 GMT 2022
    - 776 bytes
    - Viewed (0)
  4. maven-api-impl/src/test/remote-repo/org/apache/maven/its/bom/0.1/bom-0.1.pom

        <modelVersion>4.0.0</modelVersion>
    
        <groupId>org.apache.maven.its</groupId>
        <artifactId>bom</artifactId>
        <version>0.1</version>
        <packaging>pom</packaging>
    
        <name>Maven Integration Test :: Dummy BOM</name>
    
        <dependencyManagement>
            <dependencies>
                <dependency>
                    <groupId>org.apache.maven.its</groupId>
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 776 bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/BomLifecycleMappingProvider.java

    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    /**
     * {@code bom} packaging plugins bindings provider for {@code default} lifecycle.
     */
    @Named("bom")
    @Singleton
    public final class BomLifecycleMappingProvider extends AbstractLifecycleMappingProvider {
        // START SNIPPET: bom
        @SuppressWarnings("checkstyle:linelength")
        private static final String[] BINDINGS = {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 10:53:44 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  6. tests/preload_suits_test.go

    		t.Error(err)
    	}
    
    	if !reflect.DeepEqual(got3, []Level2{got, got2}) {
    		t.Errorf("got %s; want %s", toJSONString(got3), toJSONString([]Level2{got, got2}))
    	}
    
    	var got4 []Level2
    	if err := DB.Preload("Level1s", "value IN (?)", []string{"zh", "ru"}).Find(&got4, "value IN (?)", []string{"Bob", "Tom"}).Error; err != nil {
    		t.Error(err)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Mar 18 05:38:46 GMT 2022
    - 30.3K bytes
    - Viewed (0)
  7. README.md

    Also, we have a [bill of materials (BOM)][bom] available to help you keep OkHttp artifacts up to date and be sure about version compatibility.
    
    ```kotlin
        dependencies {
           // define a BOM and its version
           implementation(platform("com.squareup.okhttp3:okhttp-bom:4.12.0"))
    
           // define any required OkHttp artifacts without version
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

    import org.eclipse.aether.impl.RemoteRepositoryManager;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    @Named
    class DefaultConsumerPomBuilder implements ConsumerPomBuilder {
        private static final String BOM_PACKAGING = "bom";
    
        public static final String POM_PACKAGING = "pom";
    
        @Inject
        private ProfileInjector profileInjector;
    
        @Inject
        private InheritanceAssembler inheritanceAssembler;
    
        @Inject
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  9. callbacks/create_test.go

    		t.Errorf("parse schema error: %v, is not expected", err)
    		return
    	}
    	dest := []*user{
    		{
    			ID:    1,
    			Name:  "alice",
    			Email: "email",
    			Age:   18,
    		},
    		{
    			ID:    2,
    			Name:  "bob",
    			Email: "email",
    			Age:   19,
    		},
    	}
    	stmt := &gorm.Statement{
    		DB: &gorm.DB{
    			Config: &gorm.Config{
    				NowFunc: func() time.Time { return time.Time{} },
    			},
    			Statement: &gorm.Statement{
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 05:48:42 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  10. maven-core/src/test/remote-repo/org/apache/maven/its/bom/maven-metadata.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <metadata>
      <groupId>org.apache.maven.its</groupId>
      <artifactId>bom</artifactId>
      <version>0.1</version>
      <versioning>
        <versions>
          <version>0.1</version>
        </versions>
      </versioning>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Dec 29 13:02:33 GMT 2022
    - 251 bytes
    - Viewed (0)
Back to top