Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,740 for Appendp (0.13 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc

      llvm::SmallVector<int64_t, 4> sizes;
    };
    
    // Appends all elements in `range` to `values`.
    template <typename ValueT, typename Range>
    void Append(llvm::SmallVectorImpl<ValueT>& values, Range&& range) {
      values.insert(values.end(), range.begin(), range.end());
    }
    
    // Appends all elements in `range` to `values`.
    template <typename ValueT, typename Range, typename... RangeTs>
    void Append(llvm::SmallVectorImpl<ValueT>& values, Range&& range,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/common/deployment/echos.go

    	Configs echo.ConfigGetter
    }
    
    // AddConfigs appends to the configs to be deployed
    func (c *Config) AddConfigs(configs []echo.Config) *Config {
    	var existing echo.ConfigGetter
    	if c.Configs != nil {
    		existing = c.Configs
    	}
    	c.Configs = func() []echo.Config {
    		var out []echo.Config
    		if existing != nil {
    			out = append(out, existing()...)
    		}
    		return append(out, configs...)
    	}
    	return c
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. src/cmd/internal/dwarf/dwarf.go

    	Logf(format string, args ...interface{})
    }
    
    // AppendUleb128 appends v to b using DWARF's unsigned LEB128 encoding.
    func AppendUleb128(b []byte, v uint64) []byte {
    	for {
    		c := uint8(v & 0x7f)
    		v >>= 7
    		if v != 0 {
    			c |= 0x80
    		}
    		b = append(b, c)
    		if c&0x80 == 0 {
    			break
    		}
    	}
    	return b
    }
    
    // AppendSleb128 appends v to b using DWARF's signed LEB128 encoding.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/FileUtils.java

                valid = valid || (c == '_') || (c == '-') || (c == '.') || (c == '$');
                if (valid) {
                    rc.append(c);
                } else {
                    // Encode the character using hex notation
                    rc.append('#');
                    rc.append(Integer.toHexString(c));
                }
            }
            return rc.toString();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. pkg/scheduler/testing/wrappers.go

    			Kind:       gvk.Kind,
    			Name:       name,
    			Controller: ptr.To(true),
    		},
    	}
    	return p
    }
    
    // Container appends a container into PodSpec of the inner pod.
    func (p *PodWrapper) Container(s string) *PodWrapper {
    	name := fmt.Sprintf("con%d", len(p.Spec.Containers))
    	p.Spec.Containers = append(p.Spec.Containers, MakeContainer().Name(name).Image(s).Obj())
    	return p
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  6. pkg/proxy/util/utils.go

    func OtherIPFamily(ipFamily v1.IPFamily) v1.IPFamily {
    	if ipFamily == v1.IPv6Protocol {
    		return v1.IPv4Protocol
    	}
    
    	return v1.IPv6Protocol
    }
    
    // AppendPortIfNeeded appends the given port to IP address unless it is already in
    // "ipv4:port" or "[ipv6]:port" format.
    func AppendPortIfNeeded(addr string, port int32) string {
    	// Return if address is already in "ipv4:port" or "[ipv6]:port" format.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    			in.lex()
    			if cb != nil {
    				in.file.Stmt = append(in.file.Stmt, cb)
    				cb = nil
    			}
    		case _COMMENT:
    			tok := in.lex()
    			if cb == nil {
    				cb = &CommentBlock{Start: tok.pos}
    			}
    			com := cb.Comment()
    			com.Before = append(com.Before, Comment{Start: tok.pos, Token: tok.text})
    		case _EOF:
    			if cb != nil {
    				in.file.Stmt = append(in.file.Stmt, cb)
    			}
    			return
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. src/regexp/regexp.go

    		if !ok {
    			break
    		}
    		dst = append(dst, before...)
    		template = after
    		if template != "" && template[0] == '$' {
    			// Treat $$ as $.
    			dst = append(dst, '$')
    			template = template[1:]
    			continue
    		}
    		name, num, rest, ok := extract(template)
    		if !ok {
    			// Malformed; treat $ as raw text.
    			dst = append(dst, '$')
    			continue
    		}
    		template = rest
    		if num >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  9. pkg/config/validation/agent/validation.go

    	var errs error
    	if ls.GetAddress() == "" {
    		errs = multierror.Append(errs, errors.New("address is required"))
    	}
    	if err := ValidateProxyAddress(ls.GetAddress()); err != nil {
    		errs = multierror.Append(errs, multierror.Prefix(err, "invalid lightstep address:"))
    	}
    	if ls.GetAccessToken() == "" {
    		errs = multierror.Append(errs, errors.New("access token is required"))
    	}
    	return errs
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  10. src/slices/iter.go

    	return func(yield func(E) bool) {
    		for _, v := range s {
    			if !yield(v) {
    				return
    			}
    		}
    	}
    }
    
    // AppendSeq appends the values from seq to the slice and
    // returns the extended slice.
    func AppendSeq[Slice ~[]E, E any](s Slice, seq iter.Seq[E]) Slice {
    	for v := range seq {
    		s = append(s, v)
    	}
    	return s
    }
    
    // Collect collects values from seq into a new slice and returns it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:40:32 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top