Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 1,019 for readFn (0.04 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

    class Http2Test {
      val frame = Buffer()
      val reader = Http2Reader(frame, false)
      val expectedStreamId = 15
    
      @Test fun unknownFrameTypeSkipped() {
        writeMedium(frame, 4) // has a 4-byte field
        frame.writeByte(99) // type 99
        frame.writeByte(FLAG_NONE)
        frame.writeInt(expectedStreamId)
        frame.writeInt(111111111) // custom data
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 28.1K bytes
    - Click Count (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

          }
    
          override fun fromDer(reader: DerReader): Any? {
            if (isOptional && !reader.hasNext()) return optionalValue
    
            val peekedHeader =
              reader.peekHeader()
                ?: throw ProtocolException("expected a value at $reader")
            for ((_, adapter) in choices) {
              if (adapter.matches(peekedHeader)) {
                return adapter.fromDer(reader)
              }
            }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Click Count (0)
  3. internal/ringbuffer/ring_buffer_test.go

    	rb := New(4 << 10).SetBlocking(true)
    
    	// Reader
    	var readErr error
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() {
    		readRng := rand.New(rand.NewSource(1))
    		defer wg.Done()
    		defer rb.CloseWithError(readErr)
    		buf := make([]byte, 1024)
    		for {
    			// Read
    			n, err := rb.Read(buf[:readRng.Intn(len(buf))])
    			readBytes += n
    			read.Write(buf[:n])
    			debugln("READ 1\t", n, readBytes)
    			if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

        void testReadParameterWords(int expectedInt, byte[] bytes) {
            // The implementation reads via SMBUtil.readInt4 which returns an int
            // When assigned to a long field, it gets sign-extended
            int readLen = response.readParameterWordsWireFormat(bytes, 0);
            long expectedOffset = expectedInt; // Sign extension happens here for negative values
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindMissingDocumentationFiles.java

            Gson gson = new Gson();
            List<AdocFileEntry> entries;
            try (FileReader reader = new FileReader(jsonFile)) {
                entries = gson.fromJson(reader, new TypeToken<List<AdocFileEntry>>() {}.getType());
            }
    
            Set<String> foundAdocFiles = new HashSet<>();
            try (Stream<Path> pathStream = Files.walk(Paths.get(directoryPath))) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Aug 21 15:38:58 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  6. cmd/batch-job-common-types_gen.go

    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    package cmd
    
    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *BatchJobKV) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

            final List<KuromojiItem> itemList = new ArrayList<>();
            try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, Constants.UTF_8))) {
                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    // Remove comments
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  8. README.md

    Shinsuke Sugaya <******@****.***> 1763645653 +0900
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. README.md

    Dawid Weiss <******@****.***> 1615370543 +0100
    Created: Sat Dec 20 08:54:13 GMT 2025
    - Last Modified: Wed Mar 10 10:02:23 GMT 2021
    - 1.5K bytes
    - Click Count (0)
  10. README.md

    Shinsuke Sugaya <******@****.***> 1756545892 +0900
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 09:24:52 GMT 2025
    - 6.2K bytes
    - Click Count (0)
Back to Top