Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 1,517 for byte1 (0.02 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

      interface FrameCallback {
        @Throws(IOException::class)
        fun onReadMessage(text: String)
    
        @Throws(IOException::class)
        fun onReadMessage(bytes: ByteString)
    
        fun onReadPing(payload: ByteString)
    
        fun onReadPong(payload: ByteString)
    
        fun onReadClose(
          code: Int,
          reason: String,
        )
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. cmd/s3-zip-handlers.go

    			return
    		}
    		defer gr.Close()
    		rc, err = file.Open(gr)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    	} else {
    		rc = io.NopCloser(bytes.NewReader([]byte{}))
    	}
    
    	defer rc.Close()
    
    	if err = setObjectHeaders(ctx, w, fileObjInfo, nil, opts); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     * multiple processes to use the same cache directory at the same time.
     *
     * This cache limits the number of bytes that it will store on the filesystem. When the number of
     * stored bytes exceeds the limit, the cache will remove entries in the background until the limit
     * is satisfied. The limit is not strict: the cache may temporarily exceed it while waiting for
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  4. cmd/storage-rest-server.go

    				// concurrently, check for it before we
    				// write the filler byte.
    				select {
    				case err := <-doneCh:
    					if err != nil {
    						write([]byte{1})
    						write([]byte(err.Error()))
    					} else {
    						write([]byte{0})
    					}
    					return
    				default:
    				}
    
    				// Response not ready, write a filler byte.
    				write([]byte{32})
    				if canWrite {
    					w.(http.Flusher).Flush()
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/StringUtil.java

        }
    
        /**
         * 16進数の文字列に変換します。
         *
         * @param bytes
         *            バイトの配列
         * @return 16進数の文字列
         */
        public static String toHex(final byte[] bytes) {
            if (bytes == null) {
                return "";
            }
            final StringBuilder sb = new StringBuilder(bytes.length * 2);
            for (final byte b : bytes) {
                appendHex(sb, b);
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. cmd/peer-rest-server.go

    				peersLogOnceIf(ctx, err, "event: Encode failed")
    				continue
    			}
    			out <- grid.NewBytesWithCopyOf(buf.Bytes())
    		}
    	}
    }
    
    // TraceHandler sends http trace messages back to peer rest client
    func (s *peerRESTServer) TraceHandler(ctx context.Context, payload []byte, _ <-chan []byte, out chan<- []byte) *grid.RemoteErr {
    	var traceOpts madmin.ServiceTraceOpts
    	err := json.Unmarshal(payload, &traceOpts)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            return new JakartaServletDiskFileUpload(fileItemFactory) {
                @Override
                public byte[] getBoundary(final String contentType) { // for security
                    final byte[] boundary = super.getBoundary(contentType);
                    checkBoundarySize(contentType, boundary);
                    return boundary;
                }
            };
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Oct 23 13:27:21 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/net/InetAddressesTest.java

        assertEquals(
            InetAddresses.fromLittleEndianByteArray(new byte[] {1, 2, 3, 4}),
            InetAddress.getByAddress(new byte[] {4, 3, 2, 1}));
    
        assertEquals(
            InetAddresses.fromLittleEndianByteArray(
                new byte[] {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}),
            InetAddress.getByAddress(
                new byte[] {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1}));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/MultipartReader.kt

                0L -> -1L // No more bytes in this part.
                else -> source.read(sink, limit)
              }
            }
    
            error("unreachable") // TODO(jwilson): fix intersectWith() to return T.
          }
    
          override fun timeout(): Timeout = timeout
        }
    
        /**
         * Returns a value in [0..maxByteCount] with the number of bytes that can be read from [source] in
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. cmd/config-current.go

    		logger.Fatal(err, "Unable to generate root secret key using KMS")
    	}
    
    	accessKey, err := auth.GenerateAccessKey(20, bytes.NewReader(aKey))
    	if err != nil {
    		logger.Fatal(err, "Unable to generate root access key")
    	}
    	secretKey, err := auth.GenerateSecretKey(32, bytes.NewReader(sKey))
    	if err != nil {
    		logger.Fatal(err, "Unable to generate root secret key")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top