Search Options

Results per page
Sort
Preferred Languages
Advance

Results 951 - 960 of 1,703 for byte (0.03 sec)

  1. src/test/java/jcifs/DecodableTest.java

        @Mock
        private Decodable mockDecodable;
    
        @Test
        @DisplayName("Should define decode method")
        void testDecodeMethod() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[10];
            int bufferIndex = 0;
            int len = 10;
            when(mockDecodable.decode(buffer, bufferIndex, len)).thenReturn(10);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1K bytes
    - Viewed (0)
  2. utils/utils.go

    		frame, _ := frames.Next()
    		if (!strings.HasPrefix(frame.File, gormSourceDir) ||
    			strings.HasSuffix(frame.File, "_test.go")) && !strings.HasSuffix(frame.File, ".gen.go") {
    			return string(strconv.AppendInt(append([]byte(frame.File), ':'), int64(frame.Line), 10))
    		}
    	}
    
    	return ""
    }
    
    func IsValidDBNameChar(c rune) bool {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

                }
            }
            return null;
        }
    
        /**
         * Sets the response body from a byte array.
         *
         * @param responseBody the byte array containing the response body
         */
        public void setResponseBody(final byte[] responseBody) {
            responseBodyBytes = responseBody;
        }
    
        /**
         * Sets the response body from a file.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoResponse.java

            this.interfaces = interfaces;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) {
            int start = bufferIndex;
            int end = start + len;
            interfaces.clear();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/bytes/bytes_js_wasm_test.go

    // license that can be found in the LICENSE file.
    
    //go:build js && wasm
    
    package bytes_test
    
    import (
    	"bytes"
    	"testing"
    )
    
    func TestIssue65571(t *testing.T) {
    	b := make([]byte, 1<<31+1)
    	b[1<<31] = 1
    	i := bytes.IndexByte(b, 1)
    	if i != 1<<31 {
    		t.Errorf("IndexByte(b, 1) = %d; want %d", i, 1<<31)
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jul 17 07:00:20 UTC 2024
    - 417 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SearchHelper.java

         */
        protected byte[] gzipDecompress(final byte[] compressed) {
            try (final ByteArrayInputStream bis = new ByteArrayInputStream(compressed);
                    final GZIPInputStream gzipIn = new GZIPInputStream(bis);
                    final ByteArrayOutputStream bos = new ByteArrayOutputStream()) {
                final byte[] buffer = new byte[1024];
                int len;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            authMethod = null;
            final InputStream errorStream = connection.getErrorStream();
            if (errorStream != null && errorStream.available() != 0) {
                int count;
                final byte[] buf = new byte[1024];
                while ((count = errorStream.read(buf, 0, 1024)) != -1) {
                    ;
                }
            }
            String authHeader;
            if (response == HTTP_UNAUTHORIZED) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/Files.java

      }
    
      /**
       * Reads all bytes from a file into a byte array.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link java.nio.file.Files#readAllBytes}.
       *
       * @param file the file to read from
       * @return a byte array containing all the bytes from file
       * @throws IllegalArgumentException if the file is bigger than the largest possible byte array
       *     (2^31 - 1)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  9. cmd/storage-datatypes.go

    	}
    	return -1
    }
    
    // RawFileInfo - represents raw file stat information as byte array.
    // The above means that any added/deleted fields are incompatible.
    // Make sure to bump the internode version at storage-rest-common.go
    type RawFileInfo struct {
    	// Content of entire xl.meta (may contain data depending on what was requested by the caller.
    	Buf []byte `msg:"b,allownil"`
    }
    
    // FileInfo - represents file stat information.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

        }
    
        public void setTransferredBytes(long transferredBytes) {
            this.transferredBytes = transferredBytes;
        }
    
        public byte[] getDataBuffer() {
            return dataBuffer;
        }
    
        public void setDataBuffer(byte[] dataBuffer) {
            this.dataBuffer = dataBuffer;
        }
    
        public int getDataOffset() {
            return dataOffset;
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top