Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 223 for mapvar (0.25 sec)

  1. platforms/core-runtime/functional/src/main/java/org/gradle/internal/lazy/Lazy.java

         * function to the lazily computed value
         *
         * @param mapper the mapping function
         * @param <V> the type of the result of the function
         * @return a new lazy wrapper
         */
        default <V> Lazy<V> map(Function<? super T, V> mapper) {
            return unsafe().of(() -> mapper.apply(get()));
        }
    
        static Factory unsafe() {
            return UnsafeLazy::new;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/Utils.java

            }
            return clazz.cast(o);
        }
    
        static <U, V> List<V> map(Collection<U> list, Function<U, V> mapper) {
            return list.stream().map(mapper).collect(Collectors.toList());
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/testing/sub_test.go

    }
    
    func TestTRun(t *T) {
    	realTest := t
    	testCases := []struct {
    		desc   string
    		ok     bool
    		maxPar int
    		chatty bool
    		json   bool
    		output string
    		f      func(*T)
    	}{{
    		desc:   "failnow skips future sequential and parallel tests at same level",
    		ok:     false,
    		maxPar: 1,
    		output: `
    --- FAIL: failnow skips future sequential and parallel tests at same level (N.NNs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 21:27:08 UTC 2023
    - 23.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc

        // corresponds to the main function's newly created argument when cloning
        // ops from src -> main.
        BlockArgument main_arg = main_func_op.getArgument(main_arg_idx);
        mapper.map(src_arg, main_arg);
      }
    
      return mapper;
    }
    
    // Copies ops from `src_func_op` to `main_body` except for the FetchOps. Returns
    // the fetch values in the main GraphOp corresponding to the original fetch
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:54:52 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/unfold.go

    */
    
    package schema
    
    // Unfold expands vendor extensions of a structural schema.
    // It mutates the receiver.
    func (s *Structural) Unfold() *Structural {
    	if s == nil {
    		return nil
    	}
    
    	mapper := Visitor{
    		Structural: func(s *Structural) bool {
    			if !s.XIntOrString {
    				return false
    			}
    
    			skipAnyOf := isIntOrStringAnyOfPattern(s)
    			skipFirstAllOfAnyOf := isIntOrStringAllOfPattern(s)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 11 16:10:43 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/provider/ClassLoaderHierarchyTest.kt

                    on { path }.then { "the path" }
                }
    
                val json = classLoaderHierarchyJsonFor(`class`, targetScope)
    
                val mapper = jacksonObjectMapper()
                val hierarchy = mapper.readValue<ClassLoaderHierarchy>(json)
    
                assertThat(hierarchy.classLoaders.size, equalTo(3))
                assertThat(hierarchy.scopes.size, equalTo(1))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/mremap.go

    package unix
    
    import "unsafe"
    
    type mremapMmapper struct {
    	mmapper
    	mremap func(oldaddr uintptr, oldlength uintptr, newlength uintptr, flags int, newaddr uintptr) (xaddr uintptr, err error)
    }
    
    var mapper = &mremapMmapper{
    	mmapper: mmapper{
    		active: make(map[*byte][]byte),
    		mmap:   mmap,
    		munmap: munmap,
    	},
    	mremap: mremap,
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/values_test.go

    			},
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			mapper := UnstructuredToVal(tc.unstructured, tc.schema).(traits.Mapper)
    			if mapper.Size().Value() != tc.size {
    				t.Errorf("Expected Size to return %d but got %d", tc.size, mapper.Size().Value())
    			}
    			iter := mapper.Iterator()
    			iterResults := map[interface{}]struct{}{}
    			keys := map[interface{}]struct{}{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/xla_broadcast.mlir

      // CHECK-NEXT: tf_device.replicate([%arg0, %[[FULL_0]], %[[FULL_1]], %[[FULL_0]]] as %[[REPVAR:.*]]: tensor<f32>) {n = 4 : i32} {
      // CHECK-NEXT:   %[[ID:.*]] = "tf_device.launch"() <{device = "TPU_REPLICATED_HOST_0"}> ({
      // CHECK-NEXT:     %[[IDINSIDE:.*]] = "tf.Identity"(%[[REPVAR]]) {ici_weight_distribution_mlir_bridge_marker = true} : (tensor<f32>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. tests/integration/pilot/gateway_conformance_test.go

    					namespace.Claim(ctx, namespace.Config{
    						Prefix: ns,
    						Inject: false,
    					})
    				}
    			}
    
    			mapper, _ := gatewayConformanceInputs.Client.UtilFactory().ToRESTMapper()
    			c, err := client.New(gatewayConformanceInputs.Client.RESTConfig(), client.Options{
    				Scheme: kube.IstioScheme,
    				Mapper: mapper,
    			})
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			supportedFeatures := gateway.SupportedFeatures.Clone().
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 15:22:47 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top