Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for Clip (0.09 sec)

  1. platforms/core-runtime/wrapper-shared/src/integTest/groovy/org/gradle/integtests/PathTraversalCheckerIntegrationTest.groovy

    import java.util.zip.ZipEntry
    import java.util.zip.ZipFile
    import java.util.zip.ZipOutputStream
    
    /**
     * Ensures Gradle core tasks and types are not subject to the
     * <a href="https://snyk.io/research/zip-slip-vulnerability">Zip Slip Vulnerability</a>.
     */
    class PathTraversalCheckerIntegrationTest extends AbstractIntegrationSpec {
    
        private TestFile getEvilZip() {
            file("evil.zip")
        }
    
        def setup() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/PluginsBlockInterpreter.kt

                infixVersion * optionalApply
            }
    
            val infixApplyVersion by debug {
                flip(infixApply, optionalVersion)
            }
    
            val dotVersionApply by debug {
                dotVersion * optionalApply
            }
    
            val dotApplyVersion by debug {
                flip(dotApply, optionalVersion)
            }
    
            val optionalVersionAndApply by debug {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ReaderInputStream.java

        this.encoder = checkNotNull(encoder);
        checkArgument(bufferSize > 0, "bufferSize must be positive: %s", bufferSize);
        encoder.reset();
    
        charBuffer = CharBuffer.allocate(bufferSize);
        Java8Compatibility.flip(charBuffer);
    
        byteBuffer = ByteBuffer.allocate(bufferSize);
      }
    
      @Override
      public void close() throws IOException {
        reader.close();
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/ReaderInputStream.java

        this.encoder = checkNotNull(encoder);
        checkArgument(bufferSize > 0, "bufferSize must be positive: %s", bufferSize);
        encoder.reset();
    
        charBuffer = CharBuffer.allocate(bufferSize);
        Java8Compatibility.flip(charBuffer);
    
        byteBuffer = ByteBuffer.allocate(bufferSize);
      }
    
      @Override
      public void close() throws IOException {
        reader.close();
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/io/src/main/java/org/gradle/internal/io/BufferCaster.java

    import java.nio.Buffer;
    
    public class BufferCaster {
        /**
         * Without this cast, when the code compiled by Java 9+ is executed on Java 8, it will throw
         * java.lang.NoSuchMethodError: Method flip()Ljava/nio/ByteBuffer; does not exist in class java.nio.ByteBuffer
         */
        @SuppressWarnings("RedundantCast")
        public static <T extends Buffer> Buffer cast(T byteBuffer) {
            return (Buffer) byteBuffer;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:13 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. docs/tr/docs/deployment/index.md

    Bu, kodu sürekli olarak değiştirdiğiniz, hata alıp hata giderdiğiniz, geliştirme sunucusunu durdurup yeniden başlattığınız vb. **geliştirme** aşamalarının tam tersidir.
    
    ## Deployment Stratejileri
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:46:42 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        Java8Compatibility.flip(buf2);
        assertEquals(expected, buf2.toString());
        assertFullyRead(reader);
    
        // read in chunks to fixed CharBuffer
        reader = new CharSequenceReader(charSequence);
        buf2 = CharBuffer.allocate(5);
        builder = new StringBuilder();
        while (reader.read(buf2) != -1) {
          Java8Compatibility.flip(buf2);
          builder.append(buf2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/PathTraversalChecker.java

         *
         * This code is used for path traversal, ZipSlip and TarSlip detection.
         *
         * <b>IMPLEMENTATION NOTE</b>
         * We do it this way instead of the way recommended in <a href="https://snyk.io/research/zip-slip-vulnerability"></a>
         * for performance reasons, calling {@link File#getCanonicalPath()} is too expensive.
         *
         * @throws IllegalArgumentException if the entry contains vulnerable sequences
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/feature/feature_support_checker.go

    	// If client A supports and client B doesn't support the feature, the `Supports` will
    	// first return true at client A initializtion and then return false on client B
    	// initialzation, it can flip the support at runtime.
    	Supports(feature storage.Feature) bool
    	// CheckClient works with etcd client to recalcualte feature support and cache it internally.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_cl.h

    extern llvm::cl::opt<bool> prune_unused_nodes;
    extern llvm::cl::opt<bool> convert_legacy_fed_inputs;
    extern llvm::cl::opt<bool> graph_as_function;
    extern llvm::cl::opt<bool> upgrade_legacy;
    // TODO(jpienaar): Temporary flag, flip default and remove.
    extern llvm::cl::opt<bool> enable_shape_inference;
    extern llvm::cl::opt<bool> unconditionally_use_set_output_shapes;
    extern llvm::cl::opt<bool> enable_soft_placement;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 10 20:59:50 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top