- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for appendArgs (0.22 sec)
-
test/fixedbugs/issue52590.dir/a.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package a import "unsafe" func Append() { _ = append(appendArgs()) } func Delete() { delete(deleteArgs()) } func Print() { print(ints()) } func Println() { println(ints()) } func Complex() { _ = complex(float64s()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 28 18:02:40 UTC 2022 - 933 bytes - Viewed (0) -
test/fixedbugs/issue5793.go
package main func complexArgs() (float64, float64) { return 5, 7 } func appendArgs() ([]string, string) { return []string{"foo"}, "bar" } func appendMultiArgs() ([]byte, byte, byte) { return []byte{'a', 'b'}, '1', '2' } func main() { if c := complex(complexArgs()); c != 5+7i { panic(c) } if s := append(appendArgs()); len(s) != 2 || s[0] != "foo" || s[1] != "bar" { panic(s) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 793 bytes - Viewed (0) -
operator/pkg/util/errs_test.go
t.Errorf("got: %s, want: %s", got, want) } } func TestAppendErrs(t *testing.T) { var errs Errors errs = AppendErrs(errs, []error{nil}) if got, want := errs.String(), ""; got != want { t.Errorf("got: %s, want: %s", got, want) } errs = AppendErrs(errs, testErrs) errs = AppendErrs(errs, []error{nil}) if got, want := errs.String(), wantStr; got != want { t.Errorf("got: %s, want: %s", got, want) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 3K bytes - Viewed (0) -
operator/pkg/validate/validate.go
} scope.Debugf("Checking field %s", fieldName) switch kind { case reflect.Struct: errs = util.AppendErrs(errs, Validate(validations, fieldValue.Addr().Interface(), append(path, fieldName), checkRequired)) case reflect.Map: newPath := append(path, fieldName) errs = util.AppendErrs(errs, validateLeaf(validations, newPath, fieldValue.Interface(), checkRequired)) for _, key := range fieldValue.MapKeys() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 12 16:04:15 UTC 2023 - 7.7K bytes - Viewed (0) -
src/main/webapp/WEB-INF/env/suggest/resources/log4j2.xml
<Property name="log.file.basedir" value="${sys:fess.log.path:-target/logs}" /> <Property name="backup.date.suffix" value="_%d{yyyyMMdd}" /> <Property name="backup.max.history" value="10" /> </Properties> <Appenders> <RollingFile name="AppFile" fileName="${log.file.basedir}/${domain.name}.log" filePattern="${log.file.basedir}/${domain.name}${backup.date.suffix}-%i.log.gz">
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Feb 20 13:05:30 UTC 2023 - 1.3K bytes - Viewed (0) -
src/main/webapp/WEB-INF/env/thumbnail/resources/log4j2.xml
<Property name="log.file.basedir" value="${sys:fess.log.path:-target/logs}" /> <Property name="backup.date.suffix" value="_%d{yyyyMMdd}" /> <Property name="backup.max.history" value="10" /> </Properties> <Appenders> <RollingFile name="AppFile" fileName="${log.file.basedir}/${domain.name}.log" filePattern="${log.file.basedir}/${domain.name}${backup.date.suffix}-%i.log.gz">
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Feb 20 13:05:30 UTC 2023 - 1.3K bytes - Viewed (0) -
operator/pkg/validate/validate_values.go
pstr := path.String() scope.Debugf("ValuesValidate %s", pstr) vf := validations[pstr] if vf != nil { errs = util.AppendErrs(errs, vf(path, node)) } nn, ok := node.(map[string]any) if !ok { // Leaf, nothing more to recurse. return errs } for k, v := range nn { errs = util.AppendErrs(errs, ValuesValidate(validations, v, append(path, k))) } return errs
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 2.3K bytes - Viewed (0) -
cmd/notification.go
if contextCanceled(ctx) { // context already canceled no retries. retryCount = 0 } // Last iteration log the error. if i == retryCount-1 { reqInfo := (&logger.ReqInfo{}).AppendTags("peerAddress", addr.String()) ctx := logger.SetReqInfo(ctx, reqInfo) peersLogOnceIf(ctx, err, addr.String()) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 44.9K bytes - Viewed (0) -
src/main/webapp/WEB-INF/env/crawler/resources/log4j2.xml
<Property name="backup.date.suffix" value="_%d{yyyyMMdd}" /> <Property name="backup.max.history" value="10" /> <Property name="stats.log.pattern" value="%msg%n" /> </Properties> <Appenders> <RollingFile name="AppRollingFile" fileName="${log.file.basedir}/${domain.name}.log" filePattern="${log.file.basedir}/${domain.name}${backup.date.suffix}-%i.log.gz">
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Feb 20 13:05:30 UTC 2023 - 2.4K bytes - Viewed (0) -
operator/pkg/apis/istio/v1alpha1/validation/validation.go
return util.NewErrs(err), "" } validationErrors = util.AppendErrs(validationErrors, ValidateSubTypes(reflect.ValueOf(values).Elem(), failOnMissingValidation, values, iopls)) featureErrors, featureWarningMessages := validateFeatures(values, iopls) validationErrors = util.AppendErrs(validationErrors, featureErrors) warningMessages = append(warningMessages, featureWarningMessages...)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 20:02:28 UTC 2024 - 14.9K bytes - Viewed (0)