Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for current_pos (1.57 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc

      }
      ~WritableFileRawStream() override = default;
    
      uint64_t current_pos() const override {
        int64_t position;
        if (file->Tell(&position).ok()) {
          return position;
        } else {
          // MLIR uses os.tell() to determine whether something was written by
          // a subroutine or not, so it's important we have a working current_pos().
          LOG(WARNING)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 03:03:46 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/debug/debug.cc

      }
      ~WritableFileRawStream() override = default;
    
      uint64_t current_pos() const override {
        int64_t position;
        if (file->Tell(&position).ok()) {
          return position;
        } else {
          // MLIR uses os.tell() to determine whether something was written by
          // a subroutine or not, so it's important we have a working current_pos().
          LOG(WARNING)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 02:44:52 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketConnection.java

                int remaining = max;
                int currentPos = offset;
                while (remaining > 0) {
                    int count = Math.min(remaining, buffer.remaining());
                    if (count > 0) {
                        buffer.put(src, currentPos, count);
                        remaining -= count;
                        currentPos += count;
                    }
                    while (buffer.remaining() == 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/os/OperatingSystem.java

        }
    
        public static OperatingSystem current() {
            if (currentOs == null) {
                currentOs = forName(System.getProperty("os.name"));
            }
            return currentOs;
        }
    
        // for testing current()
        static void resetCurrent() {
            currentOs = null;
        }
    
        public static OperatingSystem forName(String os) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/platform/BinaryNativePlatformIntegrationTest.groovy

        @ToBeFixedForConfigurationCache
        def "can configure binary for multiple target operating systems"() {
            String currentOs
            if (os.windows) {
                currentOs = "windows"
            } else if (os.linux) {
                currentOs = "linux"
            } else if (os.macOsX) {
                currentOs = "osx"
            } else {
                throw new AssertionError("Unexpected operating system")
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/quantization_context.cc

      });
      return success();
    }
    
    void QuantizeContext::DumpStates(quantfork::QuantizeRegionOp current_op) {
      if (current_op) {
        llvm::errs() << "\n\n\n" << current_op.getLogicalKernel() << "\n";
      }
      func_.walk([&](quantfork::QuantizeRegionOp op) {
        if (current_op == op) llvm::errs() << "===>>>";
        llvm::errs() << op.getLogicalKernel() << " : (";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                }
    
                // path to pom.xml
                File currentPom = project.getFile();
                if (currentPom != null) {
                    MavenSession session = event.getSession();
                    Path current = currentPom.toPath().toAbsolutePath().normalize();
                    Path topDirectory = session.getTopDirectory();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc

      SmallVector<Operation*> sorted_ops;
      absl::flat_hash_set<Operation*> unique_ops;
      while (!op_stack.empty()) {
        Operation* current_op = op_stack.top();
        op_stack.pop();
        if (unique_ops.contains(current_op)) continue;
        sorted_ops.push_back(current_op);
        unique_ops.insert(current_op);
      }
      return sorted_ops;
    }
    
    // Finds the name of each attribute in `attributes` and set the attr_map
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    	for {
    		currentPod := p.startingPod
    		if p.numUpdates > 0 {
    			currentPod = p.updatePod
    		}
    		p.numUpdates++
    
    		// Remember the current resource version
    		currentResourceVersion := currentPod.ResourceVersion
    
    		obj, err := objInfo.UpdatedObject(ctx, currentPod)
    		if err != nil {
    			return nil, false, err
    		}
    		inPod := obj.(*example.Pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc

      op_worklist.push(candidate_island);
    
      while (!op_worklist.empty()) {
        IslandOp current_op = op_worklist.front();
        op_worklist.pop();
        ops.clear();
        if (incoming) {
          collect_input_defining_islands(current_op, ops);
        } else {
          collect_output_users_islands(current_op, ops);
        }
        for (IslandOp wrapper : ops) {
          Operation* wrapped_op = &wrapper.GetBody().front();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top