Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 1,057 for Bytes (0.02 sec)

  1. cmd/config-common.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"io"
    	"net/http"
    
    	"github.com/minio/minio/internal/hash"
    )
    
    var errConfigNotFound = errors.New("config file not found")
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. cmd/encryption-v1_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"encoding/base64"
    	"net/http"
    	"testing"
    
    	humanize "github.com/dustin/go-humanize"
    	"github.com/minio/minio-go/v7/pkg/encrypt"
    	"github.com/minio/minio/internal/crypto"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/AnyValue.kt

      var length: Long = -1L,
      val bytes: ByteString,
    ) {
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + tagClass
        result = 31 * result + tag.toInt()
        result = 31 * result + (if (constructed) 0 else 1)
        result = 31 * result + length.toInt()
        result = 31 * result + bytes.hashCode()
        return result
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/CryptoTest.java

        @Test
        @DisplayName("Should perform DES encryption/decryption")
        void testDES() throws Exception {
            // Given
            byte[] key = "testkey1".getBytes(); // 8 bytes for DES
            byte[] plaintext = "12345678".getBytes(); // 8 bytes (DES block size)
    
            // When
            Cipher desCipher = Crypto.getDES(key);
            desCipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "DES"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/rpc.java

            public unicode_string() {
                // Default constructor
            }
    
            /**
             * The actual length of the string in bytes.
             */
            public short length;
            /**
             * The maximum allocated length of the string in bytes.
             */
            public short maximum_length;
            /**
             * The buffer containing the Unicode characters.
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java

        /**
         * Adds a maximum content length for a specific MIME type.
         * @param mimeType The MIME type for which to set the maximum length
         * @param maxLength The maximum content length in bytes
         * @throws CrawlerSystemException if the MIME type is blank or maxLength is negative
         */
        public void addMaxLength(final String mimeType, final long maxLength) {
            if (StringUtil.isBlank(mimeType)) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

                // sgeList.add(sge);
                //
                // sendWR.setSg_list(sgeList);
                // endpoint.postSend(Arrays.asList(sendWR)).execute().free();
    
                log.debug("DiSNI RDMA send completed, {} bytes", data.remaining());
    
            } catch (Exception e) {
                state = RdmaConnectionState.ERROR;
                throw new IOException("DiSNI RDMA send failed", e);
            }
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

        /** Sets the response body to the UTF-8 encoded bytes of [body]. */
        public fun body(body: String): Builder = body(Buffer().writeUtf8(body))
    
        public fun socketHandler(socketHandler: SocketHandler): Builder =
          apply {
            this.socketHandler = socketHandler
          }
    
        /**
         * Sets the response body to [body], chunked every [maxChunkSize] bytes.
         */
        public fun chunkedBody(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

        void testWithEmptyPipeName() {
            // Test with empty string
            String pipeName = "";
            FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName);
    
            // Verify size (14 bytes header + 0 bytes for empty name)
            assertEquals(14, request.size());
    
            // Test encoding
            byte[] buffer = new byte[50];
            int bytesEncoded = request.encode(buffer, 0);
    
            // Verify
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. cmd/metrics-v2_gen.go

    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *MetricDescription) Msgsize() (s int) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 23 20:56:18 UTC 2025
    - 19.2K bytes
    - Viewed (0)
Back to top