- Sort Score
- Result 10 results
- Languages All
Results 521 - 530 of 2,208 for Error (0.02 sec)
-
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
waitForInterrupt(currentThread); } if (run) { if (error == null) { // The cast is safe because of the `run` and `error` checks. afterRanInterruptiblySuccess(uncheckedCastNullableTToT(result)); } else { afterRanInterruptiblyFailure(error); } } } } @SuppressWarnings({
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 10.1K bytes - Viewed (0) -
internal/s3select/json/reader.go
mu sync.Mutex } func (pr *syncReadCloser) Read(p []byte) (n int, err error) { // This ensures that Close will block until Read has completed. // This allows another goroutine to close the reader. pr.mu.Lock() defer pr.mu.Unlock() if pr.rc == nil { return 0, io.EOF } return pr.rc.Read(p) } func (pr *syncReadCloser) Close() error { pr.mu.Lock() defer pr.mu.Unlock() if pr.rc != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 3.2K bytes - Viewed (0) -
src/archive/zip/zip_test.go
var buf bytes.Buffer z := NewWriter(&buf) f, err := z.CreateHeader(h) if err != nil { t.Fatalf("error creating header: %v", err) } if _, err := f.Write([]byte("hi")); err != nil { t.Fatalf("error writing content: %v", err) } if err := z.Close(); err != nil { t.Fatalf("error closing zip writer: %v", err) } b := buf.Bytes() zf, err := NewReader(bytes.NewReader(b), int64(len(b)))
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
src/main/java/jcifs/context/CIFSContextCredentialWrapper.java
if ( auth != null ) { NtlmPasswordAuthenticator newAuth = NtlmAuthenticator .requestNtlmPasswordAuthentication(auth, locationHint, ( error instanceof SmbAuthException ) ? (SmbAuthException) error : null); if ( newAuth != null ) { this.creds = newAuth; return true; } } return false; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Aug 02 08:32:29 UTC 2018 - 2.7K bytes - Viewed (0) -
internal/event/targetid.go
return ARN{TargetID: tid, region: region} } // MarshalJSON - encodes to JSON data. func (tid TargetID) MarshalJSON() ([]byte, error) { return json.Marshal(tid.String()) } // UnmarshalJSON - decodes JSON data. func (tid *TargetID) UnmarshalJSON(data []byte) error { var s string if err := json.Unmarshal(data, &s); err != nil { return err } targetID, err := parseTargetID(s) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.8K bytes - Viewed (0) -
istioctl/pkg/util/configdump/secret.go
func (w *Wrapper) GetRootCAFromSecretConfigDump(anySec *anypb.Any) (string, error) { var secret extapi.Secret if err := anySec.UnmarshalTo(&secret); err != nil { return "", fmt.Errorf("failed to unmarshall ROOTCA secret: %v", err) } var returnStr string var returnErr error rCASecret := secret.GetValidationContext() if rCASecret != nil { trustCA := rCASecret.GetTrustedCa()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Feb 25 04:09:53 UTC 2023 - 2.2K bytes - Viewed (0) -
istioctl/pkg/util/configdump/wrapper.go
*protoregistry.Types } var nonStrictResolver = &resolver{protoregistry.GlobalTypes} func (r *resolver) FindMessageByURL(url string) (protoreflect.MessageType, error) { typ, err := r.Types.FindMessageByURL(url) if err != nil { // Here we ignore the error since we want istioctl to ignore unknown types due to the Envoy version change msg := exprpb.Type{TypeKind: &exprpb.Type_Dyn{Dyn: &emptypb.Empty{}}}
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 1.8K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
* @param to the output stream * @throws IOException if an I/O error occurs */ public static void copy(File from, OutputStream to) throws IOException { asByteSource(from).copyTo(to); } /** * Copies all the bytes from one file to another. * * <p>Copying is not an atomic operation - in the case of an I/O error, power loss, process
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 33.1K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Parser.java
* @param messageBuilderFactory the factory for creating message builders * @return the parsed InvokerRequest * @throws ParserException if there's an error during parsing of the command or arguments * @throws IOException if there's an I/O error during the parsing process */ @Nonnull default R mvn(@Nonnull String[] args, @Nonnull Logger logger, @Nonnull MessageBuilderFactory messageBuilderFactory)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 04 12:23:10 UTC 2024 - 3K bytes - Viewed (0) -
internal/lock/lock_nix.go
// flags and shouldn't be considered as replacement // for os.OpenFile(). func LockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) { return lockedOpenFile(path, flag, perm, 0) } // Open - Call os.OpenFile func Open(path string, flag int, perm os.FileMode) (*os.File, error) { return os.OpenFile(path, flag, perm)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 2.8K bytes - Viewed (0)