Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for IsError (0.06 sec)

  1. internal/event/target/elasticsearch.go

    	}
    	xhttp.DrainBody(resp.Body)
    	return !resp.IsError(), nil
    }
    
    func (c *esClientV7) entryExists(ctx context.Context, index string, key string) (bool, error) {
    	res, err := c.Exists(
    		index,
    		key,
    		c.Exists.WithContext(ctx),
    	)
    	if err != nil {
    		return false, err
    	}
    	xhttp.DrainBody(res.Body)
    	return !res.IsError(), nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/Response.java

    
        /**
         * @return whether signature verification failed
         */
        boolean isVerifyFailed ();
    
    
        /**
         * 
         * @return whether the response is an error
         */
        boolean isError ();
    
    
        /**
         * Set error status
         */
        void error ();
    
    
        /**
         * 
         * @return the message timeout
         */
        Long getExpiration ();
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

        public final boolean isReceived () {
            return this.received;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#isError()
         */
        @Override
        public final boolean isError () {
            return this.error;
        }
    
    
        /**
         * @return whether the packet has been signed.
         */
        public boolean isSigned () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            return this.exception;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#isError()
         */
        @Override
        public boolean isError () {
            return this.isError;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#getRawPayload()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

            this.why = why;
        }
    
        public String getError() {
            return error;
        }
    
        public void setError(String error) {
            this.error = error;
        }
    
        public boolean isError() {
            return error == null;
        }
    
        public String getDependencyConflictId() {
            return groupId + ":" + artifactId;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ReaderInputStream.java

                continue DRAINING;
              } else if (endOfInput) { // (b)
                doneEncoding = true;
              } else { // (c)
                readMoreChars();
              }
            } else if (result.isError()) {
              // Only reach here if a CharsetEncoder with non-REPLACE settings is used.
              result.throwException();
              return 0; // Not called.
            }
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/ReaderInputStream.java

                continue DRAINING;
              } else if (endOfInput) { // (b)
                doneEncoding = true;
              } else { // (c)
                readMoreChars();
              }
            } else if (result.isError()) {
              // Only reach here if a CharsetEncoder with non-REPLACE settings is used.
              result.throwException();
              return 0; // Not called.
            }
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

                            throw new SmbAuthException("Login failed", e);
                        }
                        else if ( !sessResponse.isReceived() || sessResponse.isError() || ( sessResponse.getStatus() != NtStatus.NT_STATUS_OK
                                && sessResponse.getStatus() != NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED ) ) {
                            throw e;
                        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeImpl.java

                            // tree connect might still have succeeded
                            response = (TreeConnectResponse) request.getResponse();
                            if ( response.isReceived() && !response.isError() && response.getErrorCode() == NtStatus.NT_STATUS_OK ) {
                                if ( !transport.isDisconnected() ) {
                                    treeConnected(transport, sess, response);
                                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbCopyUtil.java

                            catch ( SmbException e ) {
                                Smb2IoctlResponse response = copy.getResponse();
                                if ( !retry && response.isReceived() && !response.isError()
                                        && response.getStatus() == NtStatus.NT_STATUS_INVALID_PARAMETER ) {
                                    retry = true;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
Back to top