Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for stringText (0.32 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

    #include "absl/algorithm/container.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/str_join.h"
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/ADT/StringSet.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/OperationSupport.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

        ArrayRef<Type> getResultTypes() { return getFunctionType().getResults(); }
    
        // Get the names of all defined attributes, including both derived and
        // non-derived ones.
        llvm::StringSet<> getDefinedAttributeNames() {
          llvm::StringSet<> all_attrs;
          for (auto& attr : (*this)->getAttrs()) {
            all_attrs.insert(attr.getName().strref());
          }
          for (const auto& operand : llvm::enumerate(getArgumentTypes())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    		if strings.TrimSpace(policy) == "" {
    			continue
    		}
    		policies = append(policies, policy)
    	}
    	return policies
    }
    
    func (mp MappedPolicy) policySet() set.StringSet {
    	return set.CreateStringSet(mp.toSlice()...)
    }
    
    func newMappedPolicy(policy string) MappedPolicy {
    	return MappedPolicy{Version: 1, Policies: policy, UpdatedAt: UTCNow()}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  4. cmd/endpoint.go

    			// environments so we can't do much here.
    			pathIPMap := make(map[string]set.StringSet)
    			hostIPCache := make(map[string]set.StringSet)
    			for _, endpoint := range endpoints {
    				host := endpoint.Hostname()
    				var hostIPSet set.StringSet
    				if host != "" {
    					var ok bool
    					hostIPSet, ok = hostIPCache[host]
    					if !ok {
    						var err error
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  5. src/strings/strings_test.go

    		}
    	}
    }
    
    // Test case for any function which accepts and returns a single string.
    type StringTest struct {
    	in, out string
    }
    
    // Execute f on each test case.  funcName should be the name of f; it's used
    // in failure reports.
    func runStringTests(t *testing.T, f func(string) string, funcName string, testCases []StringTest) {
    	for _, tc := range testCases {
    		actual := f(tc.in)
    		if actual != tc.out {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  6. internal/http/listener_test.go

    	var casePorts []string
    	for i := 0; i < 6; i++ {
    		casePorts = append(casePorts, getNextPort())
    	}
    
    	testCases := []struct {
    		serverAddrs   []string
    		expectedAddrs set.StringSet
    	}{
    		{[]string{"localhost:" + casePorts[0]}, set.CreateStringSet("127.0.0.1:" + casePorts[0])},
    		{[]string{nonLoopBackIP + ":" + casePorts[1]}, set.CreateStringSet(nonLoopBackIP + ":" + casePorts[1])},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. src/bytes/bytes_test.go

    			}
    		}
    	}
    }
    
    // Test case for any function which accepts and returns a byte slice.
    // For ease of creation, we write the input byte slice as a string.
    type StringTest struct {
    	in  string
    	out []byte
    }
    
    var upperTests = []StringTest{
    	{"", []byte("")},
    	{"ONLYUPPER", []byte("ONLYUPPER")},
    	{"abc", []byte("ABC")},
    	{"AbC123", []byte("ABC123")},
    	{"azAZ09_", []byte("AZAZ09_")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  8. cmd/globals.go

    	globalCredViaEnv bool
    
    	globalPublicCerts []*x509.Certificate
    
    	globalDomainNames []string      // Root domains for virtual host style requests
    	globalDomainIPs   set.StringSet // Root domain IP address(s) for a distributed MinIO deployment
    
    	globalOperationTimeout       = newDynamicTimeout(10*time.Minute, 5*time.Minute) // default timeout for general ops
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tensor_array_ops_decomposition.cc

    #include <optional>
    
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringExtras.h"
    #include "llvm/ADT/StringMap.h"
    #include "llvm/ADT/StringSet.h"
    #include "llvm/Support/Casting.h"
    #include "llvm/Support/FormatVariadic.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Dialect/Tensor/IR/Tensor.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 20:41:19 UTC 2023
    - 40.2K bytes
    - Viewed (0)
  10. cmd/iam-etcd-store.go

    	"github.com/puzpuzpuz/xsync/v3"
    	"go.etcd.io/etcd/api/v3/mvccpb"
    	etcd "go.etcd.io/etcd/client/v3"
    )
    
    var defaultContextTimeout = 30 * time.Second
    
    func etcdKvsToSet(prefix string, kvs []*mvccpb.KeyValue) set.StringSet {
    	users := set.NewStringSet()
    	for _, kv := range kvs {
    		user := extractPathPrefixAndSuffix(string(kv.Key), prefix, path.Base(string(kv.Key)))
    		users.Add(user)
    	}
    	return users
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top