Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 431 for readings (0.07 seconds)

  1. guava/src/com/google/common/base/Ticker.java

       */
      public static Ticker systemTicker() {
        return SYSTEM_TICKER;
      }
    
      private static final Ticker SYSTEM_TICKER =
          new Ticker() {
            @Override
            @SuppressWarnings("GoodTime") // reading system time without TimeSource
            public long read() {
              return System.nanoTime();
            }
          };
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  2. docs/auditlog/auditlog-echo.go

    	flag.IntVar(&port, "port", 8080, "Port to listen on")
    }
    
    func mainHandler(w http.ResponseWriter, r *http.Request) {
    	body, err := io.ReadAll(r.Body)
    	defer r.Body.Close()
    	if err != nil {
    		log.Printf("Error reading request body: %v", err)
    		w.WriteHeader(http.StatusBadRequest)
    		return
    	}
    
    	log.Printf(">>> %s %s\n", r.Method, r.URL.Path)
    	var out bytes.Buffer
    	json.Indent(&out, body, "", "    ")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java

    public class SuggestRequestBuilder extends RequestBuilder<SuggestRequest, SuggestResponse> {
        /**
         * Constructor for SuggestRequestBuilder.
         * @param client The OpenSearch client.
         * @param readingConverter The reading converter.
         * @param normalizer The normalizer.
         */
        public SuggestRequestBuilder(final Client client, final ReadingConverter readingConverter, final Normalizer normalizer) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            void testGetDfsResponseNeverNull() {
                assertNotNull(response.getDfsResponse());
            }
    
            @Test
            @DisplayName("Should maintain DfsResponse after reading data")
            void testGetDfsResponseAfterReadingData() {
                byte[] buffer = createValidDfsReferralBuffer();
                DfsReferralResponseBuffer originalBuffer = response.getDfsResponse();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  5. internal/http/close.go

    //
    // Subsequently this allows golang http RoundTripper
    // to reuse the same connection for future requests.
    func DrainBody(respBody io.ReadCloser) {
    	// Callers should close resp.Body when done reading from it.
    	// If resp.Body is not closed, the Client's underlying RoundTripper
    	// (typically Transport) may not be able to reuse a persistent TCP
    	// connection to the server for a subsequent "keep-alive" request.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            assertEquals(expectedTime, response.getLastWriteTime());
            assertEquals(expectedTime, response.getLastAccessTime());
        }
    
        @Test
        void testReadParameterWordsWireFormatWithData() {
            // Test reading parameter words from wire format
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
    
            // Prepare test data
            byte[] buffer = new byte[256];
            int bufferIndex = 0;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            SessionRequestPacket packet = new SessionRequestPacket(mockConfig);
            packet.length = 100; // Expect more data than available
    
            // Create a larger buffer for reading to avoid IndexOutOfBoundsException
            byte[] readBuffer = new byte[100];
            assertThrows(IOException.class, () -> {
                packet.readTrailerWireFormat(bais, readBuffer, 0);
            });
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

      @BeforeEach
      fun setUp() {
        platform.assumeNotOpenJSSE()
        platform.assumeHttp2Support()
      }
    
      @Test
      fun serverTruncatesRequestOnLongPostHttp1() {
        // "java.net.SocketException: Socket closed" thrown reading response after
        // "java.net.SocketException: Connection reset by peer" writing request
        assumeNotWindows()
    
        serverTruncatesRequestOnLongPost(https = false)
      }
    
      @Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 11:54:15 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  9. LICENSES/vendor/bitbucket.org/bertimus9/systemstat/LICENSE

    COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
    IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
    CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Fri May 08 04:49:00 GMT 2020
    - 1.2K bytes
    - Click Count (0)
  10. LICENSES/vendor/github.com/Azure/go-ansiterm/LICENSE

    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    THE SOFTWARE.
    
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Fri May 08 04:49:00 GMT 2020
    - 1.2K bytes
    - Click Count (0)
Back to Top