- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for appendArgs (0.35 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) -
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) -
src/main/resources/log4j2.xml
<Property name="backup.searchlog.max.age" value="90" /> <Property name="audit.log.pattern" value="%msg%n" /> <Property name="searchlog.log.pattern" value="%msg%n" /> </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:17:33 UTC 2023 - 3.7K bytes - Viewed (0) -
operator/pkg/util/errs.go
if err == nil { if len(errors) == 0 { return nil } return errors } return append(errors, err) } // AppendErrs appends newErrs to errors and returns the result. // If newErrs is empty, nothing is appended. func AppendErrs(errors []error, newErrs []error) Errors { if len(newErrs) == 0 { return errors } for _, e := range newErrs { errors = AppendErr(errors, e) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 3.1K bytes - Viewed (0)