Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for retval (0.1 sec)

  1. plugin/pkg/admission/security/podsecurity/admission.go

    		// start with a generic forbidden error
    		retval := admission.NewForbidden(a, errors.New("Not allowed by PodSecurity")).(*apierrors.StatusError)
    		// use message/reason/details/code from admission library if populated
    		if result.Result != nil {
    			if len(result.Result.Message) > 0 {
    				retval.ErrStatus.Message = result.Result.Message
    			}
    			if len(result.Result.Reason) > 0 {
    				retval.ErrStatus.Reason = result.Result.Reason
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 08:49:11 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/artifact/ArtifactStatus.java

            }
            map.put(key, this);
        }
    
        public static ArtifactStatus valueOf(String status) {
            ArtifactStatus retVal = null;
    
            if (status != null) {
                retVal = map.get(status);
            }
    
            return retVal != null ? retVal : NONE;
        }
    
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. pkg/test/framework/components/istio/istio.go

    			}
    			retVal = thisVal
    		case 3: // match something like aaa[100]
    			thisVal := val[match[1]]
    			// If it is a list and looking for more down the path
    			if thisVal.GetListValue() != nil && len(path) > 1 {
    				index, _ := strconv.Atoi(match[2])
    				return getConfigValue(path[1:], thisVal.GetListValue().Values[index].GetStructValue().Fields)
    			}
    			retVal = thisVal
    		}
    	}
    	return retVal
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 30 17:47:34 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/envoyfilter/cluster_patch.go

    		if dst != nil && srcPatch != nil {
    			retVal, errMerge := util.MergeAnyWithAny(dst, srcPatch)
    			if errMerge != nil {
    				return false, fmt.Errorf("function MergeAnyWithAny failed for ApplyClusterMerge: %v", errMerge)
    			}
    
    			// Merge the above result with the whole cluster
    			merge.Merge(dst, retVal)
    		}
    	}
    	return true, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_compile_util.h

      kAsync,
    };
    
    enum class DeviceCompileState {
      kUncompiled,
      kCompiling,
      kCompiled,
    };
    
    // Creates a single-node graph using the specified `node_def` as the only op
    // apart from the arg and retval nodes corresponding to `args` and
    // `result_types` respectively.
    absl::StatusOr<std::unique_ptr<Graph>> CreateSingleOpGraph(
        const NodeDef& node_def, absl::Span<const XlaArgument> args,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/legalize_tf_quant_test.cc

          auto metadata_arg = metadata_proto.add_args();
          metadata_arg->set_kind(
              tensorflow::tpu::TPUCompileMetadataProto::Arg::PARAMETER);
          metadata_arg->set_dtype(dtype);
        }
        // Set up one dummy retval.
        metadata_proto.add_retvals();
        bool use_tuple_args = true;
        std::vector<tensorflow::tpu::ShardingAndIndex> arg_core_mapping;
        std::vector<std::vector<xla::Shape>> per_core_arg_shapes;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 18:43:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. src/runtime/sys_windows_arm.s

    // Return value of sigtrampgo is stored in R0.
    TEXT sigtramp<>(SB),NOSPLIT|NOFRAME,$0
    	MOVM.DB.W [R4-R11, R14], (R13)	// push {r4-r11, lr} (SP-=40)
    	SUB	$(16), R13		// reserve space for parameters/retval to go call
    
    	MOVW	R0, R6			// Save param0
    	MOVW	R1, R7			// Save param1
    	BL	runtimeĀ·load_g(SB)	// Clobbers R0
    
    	MOVW	$0, R4
    	MOVW	R4, 0(R13)	// No saved link register.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. pkg/test/framework/scope.go

    	}
    
    	for _, res := range s.resources {
    		if res == nil {
    			continue
    		}
    		resVal := reflect.ValueOf(res)
    		if resVal.Type().AssignableTo(targetT) {
    			if refVal.Kind() == reflect.Slice {
    				refVal.Set(reflect.Append(refVal, resVal))
    			} else {
    				refVal.Set(resVal)
    				return nil
    			}
    		}
    	}
    
    	if s.parent != nil {
    		// either didn't find the value or need to continue filling the slice
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 21:55:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. releasenotes/notes/bds-removal.yaml

    Kuat <******@****.***> 1704828110 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 09 19:21:50 UTC 2024
    - 196 bytes
    - Viewed (0)
  10. tensorflow/c/eager/unified_api_testutil.cc

        for (auto input : inputs) {
          TF_RETURN_IF_ERROR(fn_op->AddInput(input));
        }
        int retvals = outputs.size() - null_indices.size();
        std::vector<AbstractTensorHandle*> fn_outputs(retvals);
        TF_RETURN_IF_ERROR(fn_op->Execute(
            absl::Span<AbstractTensorHandle*>(fn_outputs.data(), fn_outputs.size()),
            &retvals));
        int skipped_indices = 0;
        for (int i = 0; i < outputs.size(); i++) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top