Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for stringText (0.36 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/resource/TextResourceIntegrationTest.groovy

        def "string backed text resource"() {
            when:
            run("stringText")
    
            then:
            result.assertTasksExecuted(":stringText")
            file("output.txt").text == "my config"
    
            when:
            run("stringText")
    
            then:
            result.assertTasksSkipped(":stringText")
        }
    
        @ToBeFixedForConfigurationCache(skip = INVESTIGATE)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/resources/org/gradle/api/resource/TextResourceIntegrationTest/shared/build.gradle

        archiveFileName = "config.zip"
        from generateConfigFile.get()
    }
    
    configurations {
        sharedConfig
    }
    
    dependencies {
        sharedConfig generateConfigZip.outputs.files
    }
    
    task stringText(type: MyTask) {
        config = resources.text.fromString("my config")
        output = project.file("output.txt")
    }
    
    task fileText(type: MyTask) {
        config = resources.text.fromFile("config.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 27 20:48:11 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/utils/utils.cc

    #include "llvm/ADT/StringRef.h"
    #include "llvm/ADT/StringSet.h"
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tfr/ir/tfr_ops.h"
    
    namespace mlir {
    namespace TFR {
    namespace {
    
    // TODO(b/174692018): Use the official allowlist of the unregistered attrs.
    const llvm::StringSet<>& GetAllowedAttributes() {
      static auto* const ops = new llvm::StringSet<>({"device", "_tpu_replicate"});
      return *ops;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/mark_functions_noinline.cc

                llvm::cl::list_init<std::string>(noinline_functions),
                llvm::cl::ZeroOrMore};
      }
    
      // Gets a set of function names from `noinline_functions_`.
      StringSet<> GetNoinlineFunctionsSet() {
        StringSet<> noinline_functions;
        noinline_functions.insert(noinline_functions_.begin(),
                                  noinline_functions_.end());
        return noinline_functions;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 18 02:52:57 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/translate/upgrade_graph.cc

    namespace {
    
    // Returns the ops that should use node name if shared_name is empty.
    const llvm::StringSet<>& GetOpsUsingNodeName() {
      static auto* const ops =
          new llvm::StringSet<>({"VariableV2", "Variable", "BatchFunction"});
      return *ops;
    }
    
    // Returns the set of ops that we want to generate shared_names for them if
    // empty.
    const llvm::StringSet<>& GetSharedNameGenerationCompatibleOps() {
      return GetOpsUsingNodeName();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 14:33:47 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. cmd/endpoint_contrib_test.go

    	}()
    	globalMinioPort = "9000"
    
    	tempGlobalDomainIPs := globalDomainIPs
    	defer func() {
    		globalDomainIPs = tempGlobalDomainIPs
    	}()
    
    	ipv4TestCases := []struct {
    		endPoints      set.StringSet
    		expectedResult set.StringSet
    	}{
    		{set.NewStringSet(), set.NewStringSet()},
    		{set.CreateStringSet("localhost"), set.NewStringSet()},
    		{set.CreateStringSet("localhost", "10.0.0.1"), set.CreateStringSet("10.0.0.1:9000")},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 30 15:50:39 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  7. cmd/site-replication_test.go

    	"github.com/minio/minio-go/v7/pkg/set"
    )
    
    // TestGetMissingSiteNames
    func TestGetMissingSiteNames(t *testing.T) {
    	testCases := []struct {
    		currSites []madmin.PeerInfo
    		oldDepIDs set.StringSet
    		newDepIDs set.StringSet
    		expNames  []string
    	}{
    		// Test1: missing some sites in replicated setup
    		{
    			[]madmin.PeerInfo{
    				{Endpoint: "minio1:9000", Name: "minio1", DeploymentID: "dep1"},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/utils/utils.h

    LogicalResult ValidateAttrs(Operation* src, const StringSet<>& registered);
    
    // Copies all the allowed attributes in 'src' to 'dst'. The copy failed if the
    // 'dst' has the attribute. Return a failure if there are any attributes are not
    // allowed and also unregistered.
    LogicalResult CopyAllowedUnregisteredAttrs(Operation* src, CallOp dst,
                                               const StringSet<>& registered);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. tensorflow/cc/experimental/libtf/impl/string_test.cc

    #include "tensorflow/cc/experimental/libtf/impl/string.h"
    
    #include "tensorflow/core/platform/test.h"
    
    namespace tf {
    namespace libtf {
    namespace impl {
    
    TEST(StringTest, TestBasicInterning) {
      String s1("foo");
      String s2("foo");
      EXPECT_EQ(&s1.str(), &s2.str());
    }
    
    }  // namespace impl
    }  // namespace libtf
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 30 17:28:28 UTC 2021
    - 1002 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/python/saved_model_to_tfl_flatbuffer.cc

    #include <memory>
    #include <optional>
    #include <string>
    #include <unordered_set>
    #include <utility>
    #include <vector>
    
    #include "absl/status/status.h"
    #include "absl/types/span.h"
    #include "llvm/ADT/StringSet.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinAttributes.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top