- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for getChars (0.11 sec)
-
android/guava/src/com/google/common/escape/UnicodeEscaper.java
dest = growBuffer(dest, destIndex, destLength); } // If we have skipped any characters, we need to copy them now. if (charsSkipped > 0) { s.getChars(unescapedChunkStart, index, dest, destIndex); destIndex += charsSkipped; } if (escaped.length > 0) { System.arraycopy(escaped, 0, dest, destIndex, escaped.length);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
} public final void writeChars( String s ) throws SmbException { int clen = s.length(); int blen = 2 * clen; byte[] b = new byte[blen]; char[] c = new char[clen]; s.getChars( 0, clen, c, 0 ); for( int i = 0, j = 0; i < clen; i++ ) { b[j++] = (byte)(c[i] >>> 8); b[j++] = (byte)(c[i] >>> 0); } write( b, 0, blen ); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
public final void writeChars ( String s ) throws SmbException { int clen = s.length(); int blen = 2 * clen; byte[] b = new byte[blen]; char[] c = new char[clen]; s.getChars(0, clen, c, 0); for ( int i = 0, j = 0; i < clen; i++ ) { b[ j++ ] = (byte) ( c[ i ] >>> 8 ); b[ j++ ] = (byte) ( c[ i ] >>> 0 ); } write(b, 0, blen); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 08 12:01:33 UTC 2020 - 18.5K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
* * <ul> * <li>use {@link StringReader} instead of {@link CharSequenceReader}. It is faster since it can * use {@link String#getChars(int, int, char[], int)} instead of copying characters one by * one with {@link CharSequence#charAt(int)}. * <li>use {@link Appendable#append(CharSequence)} in {@link #copyTo(Appendable)} and {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 25.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileLocationTest.java
public String getLink () { return null; } /** * {@inheritDoc} * * @see jcifs.DfsReferralData#getShare() */ @Override public String getShare () { return this.share; } /** * {@inheritDoc} * * @see jcifs.DfsReferralData#getPathConsumed()
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 08 13:16:07 UTC 2020 - 23K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
if ( dunc.charAt(0) != '\\' ) { log.warn("No slash at start of remaining DFS path " + dunc); } this.unc = dunc; if ( dr.getShare() != null && !dr.getShare().isEmpty() ) { this.share = dr.getShare(); } if ( reqPath != null && reqPath.endsWith("\\") && !dunc.endsWith("\\") ) { dunc += "\\"; } return dunc; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jul 20 08:24:53 UTC 2019 - 23.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
if ( t != null ) { if ( log.isDebugEnabled() ) { log.debug("Tree is " + t); } if ( Objects.equals(loc.getShare(), t.getShare()) ) { try ( SmbSessionImpl session = t.getSession() ) { targetDomain = session.getTargetDomain(); if ( !session.isFailed() ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:50:16 UTC 2020 - 31K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
return false; } DfsReferralData other = (DfsReferralData) obj; return Objects.equals(getServer(), other.getServer()) && Objects.equals(getShare(), other.getShare()) && Objects.equals(getPath(), other.getPath()) && Objects.equals(getPathConsumed(), other.getPathConsumed()); } /** * @param ref * @param reqPath
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Nov 13 15:13:49 UTC 2021 - 11K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:07:29 UTC 2023 - 29.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
/** * @return the service */ public String getService () { return this.service; } /** * @return the share */ public String getShare () { return this.share; } /** * @return whether this is a DFS share */ public boolean isDfs () { return this.inDfs; } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 29.6K bytes - Viewed (0)