Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for splitStrings (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest.go

    		trimmedString = trimmedLongString
    	} else {
    		// not a yaml error, return as-is
    		return []string{errString}
    	}
    
    	splitStrings := strings.Split(trimmedString, "\n")
    	for i, s := range splitStrings {
    		splitStrings[i] = strings.TrimSpace(s)
    	}
    	return splitStrings
    }
    
    // addStrictDecodingWarnings confirms that the error is a strict decoding error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 17K bytes
    - Viewed (0)
  2. pkg/kube/client.go

    		})
    	}
    	return g.Wait()
    }
    
    func (c *client) ApplyYAMLContents(namespace string, yamls ...string) error {
    	g, _ := errgroup.WithContext(context.TODO())
    	for _, yaml := range yamls {
    		cfgs := yml.SplitString(yaml)
    		for _, cfg := range cfgs {
    			cfg := cfg
    			g.Go(func() error {
    				return c.ssapplyYAML(cfg, namespace, false)
    			})
    		}
    	}
    	return g.Wait()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/decompose.go

    				f.NamedValues[*iName] = append(f.NamedValues[*iName], v.Args[1])
    				toDelete = append(toDelete, namedVal{i, j})
    			}
    		case t.IsString():
    			ptrName, lenName := f.SplitString(name)
    			newNames = maybeAppend2(f, newNames, ptrName, lenName)
    			for j, v := range f.NamedValues[*name] {
    				if v.Op != OpStringMake {
    					continue
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/deploymentcontroller.go

    		ProxyConfig: proxyConfig,
    		MeshConfig:  cfg.MeshConfig,
    		Values:      cfg.Values.Map(),
    	}
    	results, err := tmpl.Execute(template, input)
    	if err != nil {
    		return nil, err
    	}
    
    	return yml.SplitString(results), nil
    }
    
    func (d *DeploymentController) setGatewayControllerVersion(gws gateway.Gateway) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/func.go

    	a, ok := f.CanonicalLocalSlots[slot]
    	if !ok {
    		a = new(LocalSlot)
    		*a = slot // don't escape slot
    		f.CanonicalLocalSlots[slot] = a
    	}
    	return a
    }
    
    func (f *Func) SplitString(name *LocalSlot) (*LocalSlot, *LocalSlot) {
    	ptrType := types.NewPtr(types.Types[types.TUINT8])
    	lenType := types.Types[types.TINT]
    	// Split this string up into two separate variables.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top