Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for emptyfunc (0.34 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	// given that memory allocation may trigger GC and block the thread.
    	// Also note that emptyFunc is a placeholder, until we will be able
    	// to compute watcher.forget function (which has to happen under lock).
    	watcher := newCacheWatcher(
    		chanSize,
    		filterWithAttrsFunction(key, pred),
    		emptyFunc,
    		c.versioner,
    		deadline,
    		pred.AllowWatchBookmarks,
    		c.groupResource,
    		identifier,
    	)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    	}
    
    	deadline := time.Now().Add(time.Hour)
    	// After that, verifies the cacheWatcher.process goroutine works correctly.
    	for i := 0; i < maxRetriesToProduceTheRaceCondition; i++ {
    		w = newCacheWatcher(2, filter, emptyFunc, storage.APIObjectVersioner{}, deadline, false, schema.GroupResource{Resource: "pods"}, "")
    		w.input <- &watchCacheEvent{Object: &v1.Pod{}, ResourceVersion: uint64(i + 1)}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf_test.cc

      OwningOpRef<mlir::ModuleOp> mlir_module_;
    };
    
    TEST_F(FunctionClusterTensorflowDialectTest, ClustersTfReplicatedBridge) {
      CellReader<int64_t> compilation_status(kCompilationStreamz);
    
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
      TF_EXPECT_OK(RunFunctionTf2xlaClusteringBridge(
          *mlir_module_, /*is_supported_by_replicated_brige*/ true,
          /*is_in_fallback_enabled_mode=*/false));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

        "tf_device.cluster_func"() {_xla_compile_device_type = "TPU", _replication_info = "cluster0", func = @empty_func, num_cores_per_replica = 1, step_marker_location = "", topology = "", device_assignment = [], input_sharding_configuration = [], output_sharding_configuration = [], use_spmd_for_xla_partitioning = false} : () -> ()
        func.return
      }
      func.func @empty_func() {
        func.return
      }
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v2/BUILD

            "@local_tsl//tsl/platform:errors",
        ],
    )
    
    tf_cc_test(
        name = "cluster_tf_test",
        srcs = ["cluster_tf_test.cc"],
        data = [
            "testdata/empty_func.mlir",
            "testdata/invalid_executor.mlir",
            "testdata/outside_compilation.mlir",
        ],
        deps = [
            ":cluster_tf",
            "//tensorflow/compiler/mlir:register_common_dialects",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v1/BUILD

            "@local_tsl//tsl/platform:errors",
        ],
    )
    
    tf_cc_test(
        name = "cluster_tf_test",
        srcs = ["cluster_tf_test.cc"],
        data = [
            "testdata/empty_func.mlir",
            "testdata/invalid_executor.mlir",
            "testdata/multiple_submodules.mlir",
        ],
        deps = [
            ":cluster_tf",
            "//tensorflow/compiler/mlir:register_common_dialects",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf_test.cc

      OwningOpRef<mlir::ModuleOp> mlir_module_;
    };
    
    TEST_F(SessionClusterTensorflowDialectTest, ClustersTf) {
      CellReader<int64_t> compilation_status(kCompilationStreamz);
    
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
      TF_EXPECT_OK(
          RunSessionTf2xlaClusteringBridge(*mlir_module_,
                                           /*is_in_fallback_enabled_mode=*/false));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor_test.cc

      OwningOpRef<mlir::ModuleOp> mlir_module_;
    };
    
    TEST_F(TensorflowDialectToExecutorTest, ConvertsToExecutor) {
      CellReader<int64_t> compilation_status(kCompilationStreamz);
    
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
      TF_EXPECT_OK(ExportFromTensorflowDialectToExecutor(*mlir_module_));
    
      EXPECT_EQ(compilation_status.Delta("success"), 1);
    }
    
    TEST_F(TensorflowDialectToExecutorTest, ErrorsWhenCannotConvert) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. src/internal/coverage/cformat/format.go

    				if fname != p.funcs[u.fnfid].fname {
    					// New function; emit entry for previous one.
    					if err := emitFunc(u); err != nil {
    						return err
    					}
    				}
    			}
    			tstmts += uint64(u.NxStmts)
    			count := p.unitTable[u]
    			if count != 0 {
    				cstmts += uint64(u.NxStmts)
    			}
    		}
    		if err := emitFunc(extcu{}); err != nil {
    			return err
    		}
    	}
    	if _, err := fmt.Fprintf(tabber, "%s\t%s\t%.1f%%\n",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor_test.cc

      OwningOpRef<mlir::ModuleOp> mlir_module_;
    };
    
    TEST_F(TensorflowDialectToExecutorTest, ConvertsToExecutor) {
      CellReader<int64_t> compilation_status(kExportStreamzName);
    
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
      TF_EXPECT_OK(ExportFromTensorflowDialectToExecutor(*mlir_module_));
    
      EXPECT_EQ(compilation_status.Delta(kExportSuccess), 1);
      EXPECT_EQ(compilation_status.Delta(kExportFailed), 0);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top