- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for IsError (0.07 sec)
-
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) -
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) -
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) -
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) -
src/main/java/jcifs/util/transport/Transport.java
if ( !curResp.isReceived() && handleIntermediate(curReq, curResp) ) { continue; } if ( curResp.isError() ) { throw new TransportException(this.name + " error reading response to " + curReq, curResp.getException()); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 01 18:12:21 UTC 2020 - 24.1K bytes - Viewed (0) -
configure.py
"""Force symlink, equivalent of 'ln -sf'. Args: target: items to link to. link_name: name of the link. """ try: os.symlink(target, link_name) except OSError as e: if e.errno == errno.EEXIST: os.remove(link_name) os.symlink(target, link_name) else: raise e def write_to_bazelrc(line): with open(_TF_BAZELRC, 'a') as f:
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Oct 02 22:16:02 UTC 2024 - 48.2K bytes - Viewed (0)