Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1431 - 1440 of 1,596 for writeTo (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt

        pos: Int,
        limit: Int,
        result: Buffer,
      ): Boolean {
        if (!string.requiresEncode(pos, limit)) {
          result.writeUtf8(string, pos, limit)
          return true
        }
    
        result.write(PREFIX)
    
        val input = string.codePoints(pos, limit)
    
        // Copy all the basic code points to the output.
        var b = 0
        for (codePoint in input) {
          if (codePoint < INITIAL_N) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AtomicDouble.java

     * static boolean bitEquals(double x, double y) {
     *   long xBits = Double.doubleToRawLongBits(x);
     *   long yBits = Double.doubleToRawLongBits(y);
     *   return xBits == yBits;
     * }
     * }
     *
     * <p>It is possible to write a more scalable updater, at the cost of giving up strict atomicity.
     * See for example <a
     * href="http://gee.cs.oswego.edu/dl/jsr166/dist/docs/java.base/java/util/concurrent/atomic/DoubleAdder.html">
     * DoubleAdder</a>.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbEnumerationUtil.java

     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.URL;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Config.java

     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs;
    
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.util.Properties;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            int expectedAlignedSize = (expectedSize + 7) & ~7;
    
            assertEquals(expectedAlignedSize, request.size());
        }
    
        @Test
        @DisplayName("writeBytesWireFormat should write correct structure")
        void testWriteBytesWireFormat() {
            byte[] buffer = new byte[256];
            int offset = 64; // Start at offset to test proper indexing
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            DummyResponse d = new DummyResponse();
            // Construct a minimal wire format buffer
            byte[] buf = new byte[32];
            int idx = 0;
            // Write values little-endian
            buf[idx++] = 5; // totalParameterCount low byte
            buf[idx++] = 0; // totalParameterCount high byte -> value 5
            buf[idx++] = 3; // totalDataCount low
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/SimpleCircuitBreaker.java

     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.util;
    
    import java.util.concurrent.Callable;
    import java.util.concurrent.atomic.AtomicInteger;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            byte[] buffer = new byte[256];
            int written = trans2FindNext2.writeParametersWireFormat(buffer, 0);
    
            // Should still write the parameters correctly
            assertEquals(TEST_SID, SMBUtil.readInt2(buffer, 0));
            assertEquals(TEST_BATCH_COUNT, SMBUtil.readInt2(buffer, 2));
            assertEquals(TEST_RESUME_KEY, SMBUtil.readInt4(buffer, 6));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    import java.io.IOException;
    import java.io.InputStream;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/LongMath.java

       * Math#addExact(long, long)}. Also note that adding two {@code int} values can <b>never</b>
       * overflow a {@code long}, so you can just write {@code (long) a + b}.
       *
       * @throws ArithmeticException if {@code a + b} overflows in signed {@code long} arithmetic
       */
      @InlineMe(replacement = "Math.addExact(a, b)")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
Back to top