- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 2,251 for erro (0.06 sec)
-
internal/ioutil/read_file.go
// A successful call returns err == nil, not err == EOF. // Because ReadFile reads the whole file, it does not treat an EOF from Read // as an error to be reported. func ReadFileWithFileInfo(name string) ([]byte, fs.FileInfo, error) { f, err := OsOpenFile(name, readMode, 0o666) if err != nil { return nil, nil, err } defer f.Close() st, err := f.Stat() if err != nil { return nil, nil, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 09 18:17:51 UTC 2023 - 2.3K bytes - Viewed (0) -
internal/s3select/sql/errors.go
statusCode int cause error } func (err *s3Error) Cause() error { return err.cause } func (err *s3Error) ErrorCode() string { return err.code } func (err *s3Error) ErrorMessage() string { return err.message } func (err *s3Error) HTTPStatusCode() int { return err.statusCode } func (err *s3Error) Error() string { return err.message }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.6K bytes - Viewed (0) -
src/archive/tar/tar_test.go
for _, file := range v.files { if err := tw.WriteHeader(file.hdr); err != nil { b.Errorf("unexpected WriteHeader error: %v", err) } if _, err := tw.Write(file.body); err != nil { b.Errorf("unexpected Write error: %v", err) } } if err := tw.Close(); err != nil { b.Errorf("unexpected Close error: %v", err) } } }) } })
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 23.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataParseException.java
* @param lineNumber The one-based index of the line containing the error or {@code -1} if unknown. * @param columnNumber The one-based index of the column containing the error or {@code -1} if unknown. * @param cause The nested cause of this error, may be {@code null}. */ public MetadataParseException(String message, int lineNumber, int columnNumber, Throwable cause) { super(message);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
tests/test_tutorial/test_bigger_applications/test_main.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 24.6K bytes - Viewed (0) -
cni/pkg/repair/repaircontroller.go
netns, err := runInHost(func() (string, error) { return getPodNetNs(pod) }) if err != nil { m.With(resultLabel.Value(resultFail)).Increment() return fmt.Errorf("get netns: %v", err) } log = log.WithLabels("netns", netns) if err := redirectRunningPod(pod, netns); err != nil { log.Errorf("failed to setup redirection: %v", err) m.With(resultLabel.Value(resultFail)).Increment()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Feb 10 00:31:55 UTC 2024 - 10.4K bytes - Viewed (0) -
cmd/erasure-decode.go
var err error bufs, err = reader.Read(bufs) if len(bufs) > 0 { if errors.Is(err, errFileNotFound) || errors.Is(err, errFileCorrupt) { if derr == nil { derr = err } } } else if err != nil { return err } if err = e.DecodeDataAndParityBlocks(ctx, bufs); err != nil { return err } w := multiWriter{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 9.5K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
RunE: func(cmd *cobra.Command, args []string) error { client, err := ctx.CLIClientWithRevision(opts.Revision) if err != nil { return fmt.Errorf("failed to create k8s client: %v", err) } nsList, err := getNamespaces(context.Background(), client, ctx.IstioNamespace()) if err != nil { return err } if ctx.Namespace() != "" { for _, namespace := range nsList {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Oct 18 11:39:52 UTC 2024 - 10.6K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
} }) return local.ReaderSource{Name: f, Reader: r}, nil } func gatherFilesInDirectory(cmd *cobra.Command, dir string) ([]local.ReaderSource, error) { var readers []local.ReaderSource err := filepath.Walk(dir, func(path string, info os.FileInfo, err error) error { if err != nil { return err } if info.IsDir() { return nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbException.java
import java.io.PrintWriter; /** * There are hundreds of error codes that may be returned by a CIFS * server. Rather than represent each with it's own <code>Exception</code> * class, this class represents all of them. For many of the popular * error codes, constants and text messages like "The device is not ready" * are provided. * <p> * The jCIFS client maps DOS error codes to NTSTATUS codes. This means that
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 5.5K bytes - Viewed (0)