Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 355 for attr_ (0.04 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/tf-gradient-attr.mlir

    Yifan Jiang <******@****.***> 1684349180 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 17 18:52:47 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. tools/istio-iptables/pkg/log/nflog.go

    		if attrs.UID != nil {
    			uid = *attrs.UID
    		}
    		if attrs.GID != nil {
    			gid = *attrs.GID
    		}
    		inDev, outDev := "", ""
    		if attrs.InDev != nil {
    			ii, err := net.InterfaceByIndex(int(*attrs.InDev))
    			if err == nil {
    				inDev = ii.Name
    			}
    		}
    		if attrs.OutDev != nil {
    			ii, err := net.InterfaceByIndex(int(*attrs.OutDev))
    			if err == nil {
    				outDev = ii.Name
    			}
    		}
    		iptablesTrace.WithLabels(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/audit/policy/checker.go

    	if len(r.Verbs) > 0 {
    		if !hasString(r.Verbs, attrs.GetVerb()) {
    			return false
    		}
    	}
    
    	if len(r.Namespaces) > 0 || len(r.Resources) > 0 {
    		return ruleMatchesResource(r, attrs)
    	}
    
    	if len(r.NonResourceURLs) > 0 {
    		return ruleMatchesNonResource(r, attrs)
    	}
    
    	return true
    }
    
    // Check whether the rule's non-resource URLs match the request attrs.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 22:24:14 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/gradients/tape/tape_operation.cc

      forward_op_.attrs.Set(attr_name, value);
      return parent_op_->SetAttrFloat(attr_name, value);
    }
    Status TapeOperation::SetAttrBool(const char* attr_name, bool value) {
      forward_op_.attrs.Set(attr_name, value);
      return parent_op_->SetAttrBool(attr_name, value);
    }
    Status TapeOperation::SetAttrType(const char* attr_name, DataType value) {
      forward_op_.attrs.Set(attr_name, value);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 06:16:45 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. pkg/kubelet/server/auth.go

    	return attrs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 18:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/ReproducibleDirectoryWalker.java

        }
    
        private static FileVisitResult visit(Path path, PathVisitor pathVisitor) throws IOException {
            BasicFileAttributes attrs;
            try {
                attrs = Files.readAttributes(path, BasicFileAttributes.class);
            } catch (IOException e) {
                try {
                    attrs = Files.readAttributes(path, BasicFileAttributes.class, LinkOption.NOFOLLOW_LINKS);
                } catch (IOException next) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/CachingDependencyResultFactoryTest.groovy

        }
    
        def "creates and caches resolved dependencies with attributes"() {
            def fromModule = newModule('from')
            def selectedModule = newModule('selected', 'a', '1', selectedByRule(), newVariant('custom', [attr1: 'foo', attr2: 'bar']))
            def variant = newVariant("foo")
    
            when:
            def dep = factory.createResolvedDependency(selector('requested'), fromModule, selectedModule, variant, false)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. src/log/slog/internal/benchmarks/benchmarks_test.go

    	"flag"
    	"internal/race"
    	"io"
    	"log/slog"
    	"log/slog/internal"
    	"testing"
    )
    
    func init() {
    	flag.BoolVar(&internal.IgnorePC, "nopc", false, "do not invoke runtime.Callers")
    }
    
    // We pass Attrs inline because it affects allocations: building
    // up a list outside of the benchmarked code and passing it in with "..."
    // reduces measured allocations.
    
    func BenchmarkAttrs(b *testing.B) {
    	ctx := context.Background()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 18:32:54 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/device-arg-retval-attr.mlir

    // CHECK-NEXT:   name: "args_0"
    // CHECK-NEXT:   op: "_Arg"
    // CHECK:        device: "/CPU:0"
    // CHECK:        attr {
    // CHECK:          key: "index"
    // CHECK-NEXT:     value {
    // CHECK-NEXT:       i: 0
    //
    // CHECK:      node {
    // CHECK-NEXT:   name: "args_1"
    // CHECK-NEXT:   op: "_Arg"
    // CHECK-NOT:    device
    // CHECK:        attr {
    // CHECK:          key: "index"
    // CHECK-NEXT:     value {
    // CHECK-NEXT:       i: 1
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  10. pkg/test/fakes/gce_metadata_server/main.go

    			log.Println("forbidden: " + r.URL.Path)
    			return
    		}
    
    		next.ServeHTTP(w, r)
    	})
    }
    
    func handleAttrs(attrs map[string]string) func(w http.ResponseWriter, r *http.Request) {
    	return func(w http.ResponseWriter, r *http.Request) {
    		vars := mux.Vars(r)
    
    		if val, ok := attrs[vars[attrKey]]; ok {
    			fmt.Fprint(w, val)
    			return
    		}
    
    		http.Error(w, http.StatusText(http.StatusNotFound), http.StatusNotFound)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 22:47:52 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top