Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for getLengths (0.15 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tensor_array_ops_decomposition.cc

              return write.getValue().getType();
            } else if (auto split =
                           llvm::dyn_cast<TF::TensorArraySplitV3Op>(user)) {
              if (!split.getLengths().getDefiningOp() ||
                  !llvm::isa<TF::ConstOp>(split.getLengths().getDefiningOp())) {
                return std::nullopt;
              }
              RankedTensorType t;
              int64_t count;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 20:41:19 UTC 2023
    - 40.2K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/DelegatingDataSource.java

        }
    
        @Override
        public InputStream openInput() throws IOException {
            return delegate.openInput();
        }
    
        @Override
        public long getLength() throws IOException {
            return delegate.getLength();
        }
    
        @Override
        public String getName() {
            return delegate.getName();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/PomDomParser.java

        public static String getTextContent(Element element) {
            StringBuilder result = new StringBuilder();
    
            NodeList childNodes = element.getChildNodes();
            for (int i = 0; i < childNodes.getLength(); i++) {
                Node child = childNodes.item(i);
    
                switch (child.getNodeType()) {
                    case Node.CDATA_SECTION_NODE:
                    case Node.TEXT_NODE:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SnapshotUtil.java

            });
            return builder.build();
        }
    
        /**
         * For a {@link RegularFileSnapshot} returns the file length, otherwise {@code 0}.
         */
        public static long getLength(FileSystemLocationSnapshot snapshot) {
            return snapshot.accept(new FileSystemLocationSnapshot.FileSystemLocationSnapshotTransformer<Long>() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ModelBuilderSupport.java

        protected List<Element> children(Element element, String childName) {
            List<Element> matches = new ArrayList<Element>();
            NodeList childNodes = element.getChildNodes();
            for (int i = 0; i < childNodes.getLength(); i++) {
                Node node = childNodes.item(i);
                if (node instanceof Element) {
                    Element childElement = (Element) node;
                    if (childElement.getTagName().equals(childName)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/AbstractTaskOutputPackagingBenchmark.java

                sumLength += input.getLength();
            }
            DataTarget target = accessor.createTarget(name, Level.Trial);
            packer.pack(inputs, target);
            DataSource source = target.toSource();
            System.out.printf(">>> %s is %d bytes long (uncompressed length: %d, compression ratio: %,.2f%%)%n", name, source.getLength(), sumLength, (double) source.getLength() / sumLength);
            return source;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/problem/InternalOffsetInFileLocation.java

     * limitations under the License.
     */
    
    package org.gradle.tooling.internal.protocol.problem;
    
    public interface InternalOffsetInFileLocation extends InternalFileLocation {
    
        int getOffset();
    
        int getLength();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:33:01 UTC 2023
    - 795 bytes
    - Viewed (0)
  8. subprojects/build-events/src/main/java/org/gradle/internal/build/event/types/DefaultOffsetInFileLocation.java

            super(path);
            this.offset = offset;
            this.length = length;
        }
    
        @Override
        public int getOffset() {
            return offset;
        }
    
        @Override
        public int getLength() {
            return length;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:33:01 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/OffsetInFileLocation.java

         * @return the zero-indexed the offset
         */
        int getOffset();
    
        /**
         * The content of the content starting from {@link #getOffset()}.
         *
         * @return the length
         */
        int getLength();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:33:01 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. cmd/httprange.go

    type HTTPRangeSpec struct {
    	// Does the range spec refer to a suffix of the object?
    	IsSuffixLength bool
    
    	// Start and end offset specified in range spec
    	Start, End int64
    }
    
    // GetLength - get length of range
    func (h *HTTPRangeSpec) GetLength(resourceSize int64) (rangeLength int64, err error) {
    	switch {
    	case resourceSize < 0:
    		return 0, errors.New("Resource size cannot be negative")
    
    	case h == nil:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 08:44:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top