Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,731 for Appendp (0.11 sec)

  1. src/net/netip/netip.go

    	if x >= 0x1000 {
    		b = append(b, digits[x>>12])
    	}
    	if x >= 0x100 {
    		b = append(b, digits[x>>8&0xf])
    	}
    	if x >= 0x10 {
    		b = append(b, digits[x>>4&0xf])
    	}
    	return append(b, digits[x&0xf])
    }
    
    // appendHexPad appends the fully padded hex string representation of x to b.
    func appendHexPad(b []byte, x uint16) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/framer/framer.go

    			data = append(data[0:0], r.remaining...)
    			r.remaining = nil
    			return n, nil
    		}
    
    		n = len(data)
    		//nolint:staticcheck // SA4006,SA4010 underlying array of data is modified here.
    		data = append(data[0:0], r.remaining[:n]...)
    		r.remaining = r.remaining[n:]
    		return n, io.ErrShortBuffer
    	}
    
    	// RawMessage#Unmarshal appends to data - we reset the slice down to 0 and will either see
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 13:33:12 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. src/cmd/vet/vet_test.go

    				matched = true
    			} else {
    				out = append(out, errmsg)
    			}
    		}
    		if !matched {
    			errs = append(errs, fmt.Errorf("%s:%d: no match for %#q in:\n\t%s", we.file, we.lineNum, we.reStr, strings.Join(out[n:], "\n\t")))
    			continue
    		}
    	}
    
    	if len(out) > 0 {
    		errs = append(errs, fmt.Errorf("Unmatched Errors:"))
    		for _, errLine := range out {
    			errs = append(errs, fmt.Errorf("%s", errLine))
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. src/strconv/ftoa.go

    	}
    
    	// sign, 0x, leading digit
    	if neg {
    		dst = append(dst, '-')
    	}
    	dst = append(dst, '0', fmt, '0'+byte((mant>>60)&1))
    
    	// .fraction
    	mant <<= 4 // remove leading 0 or 1
    	if prec < 0 && mant != 0 {
    		dst = append(dst, '.')
    		for mant != 0 {
    			dst = append(dst, hex[(mant>>60)&15])
    			mant <<= 4
    		}
    	} else if prec > 0 {
    		dst = append(dst, '.')
    		for i := 0; i < prec; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. src/time/format.go

    		buf = appendInt(buf, int(month), 0)
    	}
    	buf = append(buf, ", "...)
    	buf = appendInt(buf, day, 0)
    	buf = append(buf, ", "...)
    	buf = appendInt(buf, hour, 0)
    	buf = append(buf, ", "...)
    	buf = appendInt(buf, minute, 0)
    	buf = append(buf, ", "...)
    	buf = appendInt(buf, second, 0)
    	buf = append(buf, ", "...)
    	buf = appendInt(buf, t.Nanosecond(), 0)
    	buf = append(buf, ", "...)
    	switch loc := t.Location(); loc {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  6. src/internal/bisect/bisect.go

    	for {
    		f, more := frames.Next()
    		buf = append(buf, prefix...)
    		buf = append(buf, f.Function...)
    		buf = append(buf, "()\n"...)
    		buf = append(buf, prefix...)
    		buf = append(buf, '\t')
    		buf = appendFileLine(buf, f.File, f.Line)
    		buf = append(buf, '\n')
    		if !more {
    			break
    		}
    	}
    	buf = append(buf, prefix...)
    	buf = append(buf, '\n')
    	_, err := w.Write(buf)
    	return err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 17:28:43 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top