Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 1,370 for bread (0.02 sec)

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

            // If we couldn't encode the label, give up.
            return null
          }
    
          if (dot < limit) {
            result.writeByte('.'.code)
            pos = dot + 1
          } else {
            break
          }
        }
    
        return result.readUtf8()
      }
    
      private fun encodeLabel(
        string: String,
        pos: Int,
        limit: Int,
        result: Buffer,
      ): Boolean {
    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. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

                  request: UrlRequest,
                  info: UrlResponseInfo,
                ) {
                  println("onResponseStarted ${info.headers.asMap} ${info.negotiatedProtocol}")
                  request.read(ByteBuffer.allocateDirect(4096 * 8))
                }
    
                override fun onReadCompleted(
                  request: UrlRequest,
                  info: UrlResponseInfo,
                  byteBuffer: ByteBuffer,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

            // Read GUID components in little-endian order
            int data1 = bb.getInt(); // first 4 bytes (little-endian)
            short data2 = bb.getShort(); // next 2 bytes (little-endian)
            short data3 = bb.getShort(); // next 2 bytes (little-endian)
    
            // The last 8 bytes are read as big-endian (network byte order for the high/low parts)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

            }
        }
    
        /**
         * Verify that read methods and writeBytesWireFormat return 0,
         * while writeParameterWordsWireFormat returns 6 (the number of bytes written).
         */
        @Test
        @DisplayName("happy: read/write methods return expected values")
        void testReadWriteMethodsReturnValues() {
            SmbComClose close = new SmbComClose(10, 5000L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

        }
    
        /**
         * Get the maximum size for RDMA read/write operations
         *
         * @return maximum read/write size in bytes
         */
        public int getMaxReadWriteSize() {
            return maxReadWriteSize;
        }
    
        /**
         * Set the maximum size for RDMA read/write operations
         *
         * @param maxReadWriteSize maximum read/write size in bytes
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/LmhostsTest.java

                    Mockito.mockConstruction(SmbFileInputStream.class, (mock, context) -> {
                        // Mock the read method to return simple content
                        byte[] includeContent = "192.168.1.200 INCLUDEHOST\n".getBytes();
                        int[] index = { 0 };
                        when(mock.read()).thenAnswer(inv -> {
                            if (index[0] < includeContent.length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbEndOfFileException.java

     */
    package jcifs.smb;
    
    /**
     * Exception thrown when reaching the end of an SMB file.
     *
     * This exception is thrown during read operations when
     * attempting to read beyond the end of a file.
     *
     * @author mbechler
     */
    public class SmbEndOfFileException extends SmbException {
    
        /**
         *
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt

          object : Source {
            var closed = false
    
            override fun close() {
              closed = true
            }
    
            override fun read(
              sink: Buffer,
              byteCount: Long,
            ): Long {
              check(!closed)
              return data.read(sink, byteCount)
            }
    
            override fun timeout(): Timeout = Timeout.NONE
          }
        return source.buffer().asResponseBody(null, -1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            PagingList<ProtwordsItem> list = protwordsFile.selectList(0, 100);
            for (ProtwordsItem item : list) {
                if ("newWord".equals(item.getInput())) {
                    found = true;
                    break;
                }
            }
            assertTrue(found);
        }
    
        public void test_update() {
            // Load data first
            protwordsFile.reload(null);
    
            // Get an existing item
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. cmd/erasure-encode.go

    			// Reached EOF, nothing more to be done.
    			break
    		}
    
    		// We take care of the situation where if n == 0 and total == 0 by creating empty data and parity files.
    		blocks, err = e.EncodeData(ctx, buf[:n])
    		if err != nil {
    			return 0, err
    		}
    
    		if err = writer.Write(ctx, blocks); err != nil {
    			return 0, err
    		}
    
    		total += int64(n)
    		if eof {
    			break
    		}
    	}
    	return total, nil
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top