Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 144 for GetSize (0.26 sec)

  1. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceTest.groovy

            }
    
            @Override
            void writeTo(OutputStream output) throws IOException {
                ++writeCount
                output << content
            }
    
            @Override
            long getSize() {
                return content.length
            }
        }
    
        private static Writer writer(byte[] content) {
            new Writer(content)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/python/converter_python_api.cc

      if (!status.ok()) {
        error_reporter->exception();
        return nullptr;
      }
      return tflite::python_utils::ConvertToPyString(
          reinterpret_cast<const char*>(builder.GetCurrentBufferPointer()),
          builder.GetSize());
    }
    
    PyObject* RegisterCustomOpdefs(PyObject* list) {
      if (!PyList_Check(list)) {
        PyErr_SetString(PyExc_TypeError, "Expected list in argument");
        return nullptr;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tensor_array_ops_decomposition.cc

      if (ta.getDynamicSize()) {
        return ta.emitOpError("dynamic tensor array size is unsupported");
      }
      Value buffer;
      OpBuilder builder(ta);
      if (failed(cutil::CreateInitBufferValue(*elem_shape, ta.getSize(), ta,
                                              ta.getDtype(), builder, &buffer))) {
        return failure();
      }
      auto var_type = RankedTensorType::get(
          {}, TF::ResourceType::get(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 20:41:19 UTC 2023
    - 40.2K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                responseData.setCharSet(Constants.UTF_8);
                responseData.setLastModified(file.getTimestamp().getTime());
    
                // check file size
                responseData.setContentLength(file.getSize());
                checkMaxContentLength(responseData);
    
                if (file.getUser() != null) {
                    responseData.addMetaData(FTP_FILE_USER, file.getUser());
                }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

            "Quantize weights transformation failed.");
      }
      const uint8_t* q_buffer = q_builder.GetBufferPointer();
      *result =
          std::string(reinterpret_cast<const char*>(q_buffer), q_builder.GetSize());
    
      return absl::OkStatus();
    }
    
    absl::Status ConvertTFExecutorToStablehloFlatbuffer(
        mlir::PassManager& pass_manager, mlir::ModuleOp module, bool export_to_mlir,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationSignatureWriteIntegTest.groovy

            exportedKeyRingAscii.exists()
            def keyringsAscii = SecuritySupport.loadKeyRingFile(exportedKeyRingAscii)
            keyringsAscii.size() == 1
            PGPUtils.getSize(keyringsAscii[0]) == 5
        }
    
        def "checksums are exported properly when buildSrc is present"() {
            given:
            javaLibrary()
            uncheckedModule("org", "foo", "1.0")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:22 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

                    this.attrExpiration = System.currentTimeMillis() + th.getConfig().getAttributeCacheTimeout();
                }
                else if ( info instanceof FileStandardInfo ) {
                    this.size = info.getSize();
                    this.sizeExpiration = System.currentTimeMillis() + th.getConfig().getAttributeCacheTimeout();
                }
                return info;
            }
    
            /*
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  8. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc

      auto begin = slice_op.getBegin();
      auto begin_type = mlir::dyn_cast_or_null<RankedTensorType>(begin.getType());
      if (!begin_type || !begin_type.hasStaticShape()) return failure();
    
      auto size = slice_op.getSize();
      auto size_type = mlir::dyn_cast_or_null<RankedTensorType>(size.getType());
      if (!size_type || !size_type.hasStaticShape()) return failure();
    
      auto output_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                        Type argType = paramTypes.get(typeVar);
                        _ILOAD_OF(argType, stackVar);
                        stackVar += argType.getSize();
                    }
                    _INVOKESPECIAL(superclassType, "<init>", superMethodDescriptor);
    
                    if (addNameParameter) {
                        // this.name = name
                        _ALOAD(0);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      // check if Flatbuffer builder can no longer hold the given amount of the data
      inline bool IsModelBiggerThan2GB(const uint64_t data_size) {
        return data_size > flatbuffer_size_max - builder_.GetSize();
      }
    
      // helper function for build stablehlo operators
      std::optional<BufferOffset<tflite::Operator>>
      BuildStablehloOperatorwithoutOptions(Operation* inst,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top