Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for retval (0.19 sec)

  1. pkg/apis/certificates/validation/validation.go

    	var retval []certificates.CertificateSigningRequestCondition
    	for i, c := range csr.Status.Conditions {
    		if c.Type == conditionType {
    			retval = append(retval, csr.Status.Conditions[i])
    		}
    	}
    	return retval
    }
    
    // getValidationOptions returns the validation options to be
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

      @SuppressWarnings("unchecked")
      @Benchmark
      boolean getIfPresent(int repetitions) {
        boolean retVal = false;
        for (int i = 0; i < repetitions; ++i) {
          retVal &= Enums.getIfPresent(enumType, sampleData[i & 255]).isPresent();
        }
        return retVal;
      }
    
      private enum SmallEnum {
        X0,
        X1,
        X2
      }
    
      private enum MediumEnum {
        X0,
        X1,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

      @SuppressWarnings("unchecked")
      @Benchmark
      boolean getIfPresent(int repetitions) {
        boolean retVal = false;
        for (int i = 0; i < repetitions; ++i) {
          retVal &= Enums.getIfPresent(enumType, sampleData[i & 255]).isPresent();
        }
        return retVal;
      }
    
      private enum SmallEnum {
        X0,
        X1,
        X2
      }
    
      private enum MediumEnum {
        X0,
        X1,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc

      // Computes the permutation to produce the correct retval order, and update
      // the argument indices.
      for (int i = 0; i < num_retvals; ++i) {
        int index;
        TF_RETURN_IF_ERROR(GetIndexAttr(*retvals[i], num_retvals, &index));
        (*output_permutation)[index] = i;
        retvals[i]->AddAttr("index", i);
      }
    
      AddNodeAttr(kXlaClusterIdAttr, call_def->name(), call_def);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. pkg/kubelet/container/helpers.go

    // Note: this list must be updated if ever kubelet wants to allow mutations to other fields.
    func pickFieldsToHash(container *v1.Container) map[string]string {
    	retval := map[string]string{
    		"name":  container.Name,
    		"image": container.Image,
    	}
    	return retval
    }
    
    // envVarsToMap constructs a map of environment name to value from a slice
    // of env vars.
    func envVarsToMap(envs []EnvVar) map[string]string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

      llvm::SmallVector<std::tuple<int64_t, int64_t, bool>, 8>
          output_buffer_to_size;
      for (auto retval : llvm::enumerate(old_terminator->getOperands())) {
        auto it = buffer_to_size.find(retval.value());
        if (it == buffer_to_size.end()) continue;
        output_buffer_to_size.emplace_back(retval.index(), new_outputs.size(),
                                           it->getSecond().fixed);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  7. istioctl/pkg/kubeinject/kubeinject.go

    			if err != nil {
    				return err
    			}
    			retval := inject.IntoResourceFile(injector, templs, vc, rev, meshConfig,
    				reader, writer, func(warning string) {
    					warnings = append(warnings, warning)
    				})
    			if len(warnings) > 0 {
    				fmt.Fprintln(c.ErrOrStderr())
    			}
    			for _, warning := range warnings {
    				fmt.Fprintln(c.ErrOrStderr(), warning)
    			}
    			return retval
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  8. pkg/controller/volume/persistentvolume/provision_test.go

    	ctrl, err := newTestController(ctx, nil, nil, false)
    	if err != nil {
    		t.Fatalf("Construct PersistentVolume controller failed: %v", err)
    	}
    	retVal := ctrl.provisionClaim(ctx, nil)
    	if retVal != nil {
    		t.Errorf("Expected nil return but got %v", retVal)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc

          StrEq("input_tensor:0"));
    
      // Match the `_Retval` node that corresponds to the return value of @main.
      const auto retval_node_itr =
          llvm::find_if(exported_model->graph_def().node(),
                        [](const NodeDef& node) { return node.op() == "_Retval"; });
      ASSERT_NE(retval_node_itr, exported_model->graph_def().node().end());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. pilot/pkg/networking/util/util.go

    	srcX, err := src.UnmarshalNew()
    	if err != nil {
    		return nil, err
    	}
    
    	// Merge the two typed protos
    	merge.Merge(dstX, srcX)
    
    	// Convert the merged proto back to dst
    	retVal := protoconv.MessageToAny(dstX)
    
    	return retVal, nil
    }
    
    // AppendLbEndpointMetadata adds metadata values to a lb endpoint using the passed in metadata as base.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top