Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 821 - 830 of 1,956 for Read (0.09 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenPatternsTask.java

                    lines = stream.collect(Collectors.toList());
                } catch (UncheckedIOException e) {
                    throw new IllegalArgumentException("Failed to read " + f + " as UTF_8", e);
                }
                List<Integer> invalidLines = IntStream.range(0, lines.size())
                    .filter(i -> allPatterns.matcher(lines.get(i)).find())
                    .boxed()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            // Setup mock behavior
            when(mockIn.read(any(byte[].class))).thenReturn(7);
    
            // Act
            byte[] buf = new byte[16];
            byte[] recv = new byte[16];
            int r = spyHandle.sendrecv(buf, 2, 4, recv, 16);
    
            // Assert
            assertEquals(7, r);
            verify(mockOut).write(eq(buf), eq(2), eq(4));
            verify(mockIn).read(eq(recv));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  3. cmd/storage-rest-client.go

    			if errors.Is(err, io.EOF) {
    				err = nil
    			}
    			break
    		}
    
    		stat = append(stat, st)
    	}
    
    	return stat, toStorageErr(err)
    }
    
    // ReadMultiple will read multiple files and send each back as response.
    // Files are read and returned in the given order.
    // The resp channel is closed before the call returns.
    // Only a canceled context or network errors returns an error.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            int bytesUsed = buf.getIndex();
            // Should be 2 bytes for the short value (alignment may add padding)
            assertTrue(bytesUsed >= 2, "Should use at least 2 bytes for short");
    
            // Reset index to read back
            buf.reset();
            NdrShort decoded = new NdrShort(0); // placeholder value
            decoded.decode(buf);
            assertEquals(expected, decoded.value, "decoded value should match original after masking");
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/server-sent-events.md

    ///
    
    ## Resuming with `Last-Event-ID` { #resuming-with-last-event-id }
    
    When a browser reconnects after a connection drop, it sends the last received `id` in the `Last-Event-ID` header.
    
    You can read it as a header parameter and use it to resume the stream from where the client left off:
    
    {* ../../docs_src/server_sent_events/tutorial004_py310.py hl[25,27,31] *}
    
    ## SSE with POST { #sse-with-post }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  6. internal/hash/checksum_test.go

    		t.Fatalf("Checksum mismatch: expected %+v, got %+v", finalChecksum, chksmOut)
    	}
    
    	// Serialize what we got from ChecksumFromBytes
    	serializedOut := chksmOut.AppendTo(nil, checksumCombined)
    
    	// Read part checksums from serializedOut
    	readParts := ReadPartCheckSums(serializedOut)
    	expectedChecksums := []string{
    		part1Checksum.Encoded,
    		part2Checksum.Encoded,
    		part3Checksum.Encoded,
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  7. cmd/mrf.go

    	loadMRF := func(rc io.ReadCloser, opCh chan PartialOperation) error {
    		defer rc.Close()
    		var data [4]byte
    		n, err := rc.Read(data[:])
    		if err != nil {
    			return err
    		}
    		if n != len(data) {
    			return errors.New("heal mrf: no data")
    		}
    		// Read resync meta header
    		switch binary.LittleEndian.Uint16(data[0:2]) {
    		case healMRFMetaFormat:
    		default:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

          }
        }
      }
    
      private fun acceptCommand(
        fromAddress: InetAddress,
        fromSource: BufferedSource,
        fromSink: BufferedSink,
      ) {
        // Read the command.
        val version = fromSource.readByte() and 0xff
        if (version != VERSION_5) throw ProtocolException("unexpected version: $version")
    
        val command = fromSource.readByte() and 0xff
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  9. CONTRIBUTING.md

    contributors to follow so that we can have a chance of keeping on top of
    things.
    
    Some of the ideas are documented in the [Maven Wiki][maven-wiki]
    which might be interesting to read and for further discussion.
    
    Getting Started
    ---------------
    
    + Make sure you have a [GitHub account](https://github.com/signup/free).
    + If you're planning to implement a new feature, it makes sense to discuss your changes
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 09:55:33 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/failureurl/EditForm.java

         */
        @ValidateTypeFailure
        public String pageNumber;
    
        /**
         * The CRUD operation mode for this form.
         * Indicates whether this is a create, read, update, or delete operation.
         */
        @ValidateTypeFailure
        public Integer crudMode;
    
        /**
         * The unique identifier of the failure URL record being edited.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top