Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 290 for attr_ (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/smuggle_disallowed_ops.cc

      auto call_target =
          rewriter.getNamedAttr("call_target_name", op->getName().getIdentifier());
      SmallVector<NamedAttribute> attrs{op->getAttrs()};
      attrs.push_back(call_target);
      auto custom_call = rewriter.create<mlir::stablehlo::CustomCallOp>(
          op->getLoc(), op->getResultTypes(), op->getOperands(), attrs);
      rewriter.replaceOp(op, custom_call.getResults());
      return success();
    }
    
    }  // namespace
    
    template <typename OpTy>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 01:14:04 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. pkg/monitoring/base.go

    }
    
    func rebuildAttributes(bm baseMetric, labelValues []LabelValue) ([]attribute.KeyValue, attribute.Set) {
    	attrs := make([]attribute.KeyValue, 0, len(bm.attrs)+len(labelValues))
    	attrs = append(attrs, bm.attrs...)
    	for _, v := range labelValues {
    		attrs = append(attrs, v.keyValue)
    	}
    
    	set := attribute.NewSet(attrs...)
    	return attrs, set
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

        (TFL_TransposeOp
          (TFL_ResizeBilinearOp
            (TFL_TransposeOp $input,
              (Arith_ConstantOp
                ConstantAttr<RankedI32ElementsAttr<[4]>,"{0, 2, 3, 1}">)),
            (Arith_ConstantOp:$output_size (GetI32DenseAttr (GetAsVectorAttr<"output"> $attrs))),
            (GetCompositeAttributeAs<"align_corners", "BoolAttr"> $attrs),
            ConstBoolAttrTrue,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AttributeBasedFileVisitDetailsFactory.java

            RelativePath parentPath,
            @Nullable BasicFileAttributes attrs,
            AtomicBoolean stopFlag,
            FileSystem fileSystem
        ) {
            boolean isDirectory = attrs != null && attrs.isDirectory();
            RelativePath relativePath = parentPath.append(!isDirectory, path.getFileName().toString());
            return getRootFileVisitDetails(path, relativePath, attrs, stopFlag, fileSystem);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc

        auto operand_size_attr = builder.getDenseI32ArrayAttr(operand_sizes);
        NamedAttrList attrs(send_op->getAttrs());
        attrs.set(send_op.getOperandSegmentSizeAttr(), operand_size_attr);
    
        AddOperandAndRewriteAs<XlaSendTPUEmbeddingGradientsOp>(send_op, dedup_op,
                                                               attrs, &builder);
      }
      return success();
    }
    
    void RewriteTPUEmbeddingOps::runOnOperation() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 22:55:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top