Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 111 for _retval (0.21 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-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

                            if (subResult != null) {
                                retVal += subResult;
                            } else {
                                retVal += "$" + expr.substring(index + 1, lastIndex + 1);
                            }
                        }
    
                        retVal += evaluate(expr.substring(lastIndex + 1));
                        return retVal;
                    }
                }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 30 23:39:19 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. 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)
  4. pkg/volume/util/nested_volumes.go

    				}
    				// since this mount point is nested, remember it so that we can check that following ones aren't nested beneath this one
    				prevNestedMPs = append(prevNestedMPs, mp+string(os.PathSeparator))
    				retval = append(retval, mp[len(myMPSlash):])
    			}
    		}
    		return nil
    	}
    
    	var retErr error
    	podutil.VisitContainers(&pod.Spec, podutil.AllFeatureEnabledContainers(), func(c *v1.Container, containerType podutil.ContainerType) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 18 12:19:17 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  5. istioctl/pkg/multixds/gather.go

    	retval := discovery.DiscoveryResponse{}
    	if len(responses) == 0 {
    		return &retval, nil
    	}
    
    	for _, response := range responses {
    		// Combine all the shards as one, even if that means losing information about
    		// the control plane version from each shard.
    		retval.ControlPlane = response.ControlPlane
    		retval.Resources = append(retval.Resources, response.Resources...)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 08 08:38:19 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/annotations/annotations.go

    		}
    	}
    
    	return nil
    }
    
    func resourceTypesAsStrings(resourceTypes []annotation.ResourceTypes) []string {
    	retval := []string{}
    	for _, resourceType := range resourceTypes {
    		if s := resourceType.String(); s != "Unknown" {
    			retval = append(retval, s)
    		}
    	}
    	return retval
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 25 13:14:31 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. pkg/registry/core/componentstatus/rest.go

    	c := &api.ComponentCondition{
    		Type:    api.ComponentHealthy,
    		Status:  ToConditionStatus(status),
    		Message: msg,
    		Error:   errorMsg,
    	}
    
    	retVal := &api.ComponentStatus{
    		Conditions: []api.ComponentCondition{*c},
    	}
    	retVal.Name = name
    
    	return retVal
    }
    
    // Implement ShortNamesProvider
    var _ rest.ShortNamesProvider = &REST{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testsanitizers/testdata/tsan2.go

    int run() {
    	val = 1;
    	GoRun();
    	return val;
    }
    
    void setVal(int) __attribute__ ((weak));
    
    void setVal(int i) {
    	val = i;
    }
    */
    import "C"
    
    import "runtime"
    
    //export GoRun
    func GoRun() {
    	runtime.LockOSThread()
    	c := make(chan bool)
    	go func() {
    		runtime.LockOSThread()
    		C.setVal(2)
    		c <- true
    	}()
    	<-c
    }
    
    func main() {
    	if v := C.run(); v != 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 940 bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/envoyfilter/listener_patch.go

    				}
    				if retVal, err = util.MergeAnyWithAny(filter.GetTypedConfig(), userFilter.GetTypedConfig()); err != nil {
    					retVal = filter.GetTypedConfig()
    				}
    			}
    			filter.Name = filterName
    			if retVal != nil {
    				filter.ConfigType = &listener.Filter_TypedConfig{TypedConfig: retVal}
    			}
    		}
    	}
    	if filter.Name == wellknown.HTTPConnectionManager {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 15:39:29 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  10. 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)
Back to top