Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 741 - 750 of 961 for dsbyte (0.04 seconds)

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

                int action = SMBUtil.readInt4(outputBuffer, offset + 4);
                int fileNameLength = SMBUtil.readInt4(outputBuffer, offset + 8);
    
                // Extract filename
                byte[] fileNameBytes = new byte[fileNameLength];
                System.arraycopy(outputBuffer, offset + 12, fileNameBytes, 0, fileNameLength);
                String fileName = new String(fileNameBytes, StandardCharsets.UTF_16LE);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BitString.kt

    import okio.ByteString
    
    /**
     * Like a [ByteString], but whose bits are not necessarily a strict multiple of 8.
     */
    internal data class BitString(
      val byteString: ByteString,
      /** 0-7 unused bits in the last byte. */
      val unusedBitsCount: Int,
    ) {
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + byteString.hashCode()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  3. samples/slack/src/main/java/okhttp3/slack/RtmSession.java

        webSocket = slackApi.rtm(rtmStartResponse.url, this);
      }
    
      // TODO(jwilson): can I read the response body? Do I have to?
      //                the body from slack is a 0-byte-buffer
      @Override public synchronized void onOpen(WebSocket webSocket, Response response) {
        System.out.println("onOpen: " + response);
      }
    
      // TOOD(jwilson): decode incoming messages and dispatch them somewhere.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 19 20:16:58 GMT 2016
    - 2.4K bytes
    - Click Count (0)
  4. src/archive/zip/example_test.go

    		{"todo.txt", "Get animal handling licence.\nWrite more examples."},
    	}
    	for _, file := range files {
    		f, err := w.Create(file.Name)
    		if err != nil {
    			log.Fatal(err)
    		}
    		_, err = f.Write([]byte(file.Body))
    		if err != nil {
    			log.Fatal(err)
    		}
    	}
    
    	// Make sure to check the error on Close.
    	err := w.Close()
    	if err != nil {
    		log.Fatal(err)
    	}
    }
    
    func ExampleReader() {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Jan 27 00:22:03 GMT 2016
    - 2K bytes
    - Click Count (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java

            Files.createDirectory(dir3);
            Files.writeString(dir3.resolve("file4.txt"), "file4");
    
            // Setup public directory files
            byte[] largeContent = new byte[10 * 1024 * 1024]; // 10MB
            for (int i = 0; i < largeContent.length; i++) {
                largeContent[i] = (byte) (i % 256);
            }
            Files.write(publicDir.resolve("largefile.bin"), largeContent);
            Files.createFile(publicDir.resolve("empty.txt"));
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Tue Sep 23 06:42:59 GMT 2025
    - 30K bytes
    - Click Count (0)
  6. cmd/storage-rest-client.go

    	return errInvalidArgument
    }
    
    // AppendFile - append to a file.
    func (client *storageRESTClient) AppendFile(ctx context.Context, volume string, path string, buf []byte) error {
    	values := make(url.Values)
    	values.Set(storageRESTVolume, volume)
    	values.Set(storageRESTFilePath, path)
    	reader := bytes.NewReader(buf)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  7. cmd/auth-handler_test.go

    		// Short Content-Md5 header.
    		{mustNewSignedShortMD5Request(http.MethodPut, "http://127.0.0.1:9000/", 5, bytes.NewReader([]byte("hello")), t), ErrInvalidDigest},
    		// When request is properly signed, but has bad Content-MD5 header.
    		{mustNewSignedBadMD5Request(http.MethodPut, "http://127.0.0.1:9000/", 5, bytes.NewReader([]byte("hello")), t), ErrBadDigest},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/ntlmssp/av/AvChannelBindings.java

     */
    public class AvChannelBindings extends AvPair {
    
        /**
         * Constructs an AV channel bindings pair
         * @param channelBindingHash the channel binding hash value
         */
        public AvChannelBindings(final byte[] channelBindingHash) {
            super(AvPair.MsvAvChannelBindings, channelBindingHash);
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/curl/CurlResponse.java

         *
         * @return the content as a string.
         * @throws CurlException if an error occurs while accessing the content.
         */
        public String getContentAsString() {
            final byte[] bytes = new byte[4096];
            try (BufferedInputStream bis = new BufferedInputStream(getContentAsStream());
                    ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
                int length = bis.read(bytes);
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Mon Nov 24 03:10:07 GMT 2025
    - 7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/dtyp/ACE.java

            return this.access;
        }
    
        @Override
        public SID getSID() {
            return this.sid;
        }
    
        @Override
        public int decode(final byte[] buf, int bi, final int len) {
            this.allow = buf[bi] == (byte) 0x00;
            bi++;
            this.flags = buf[bi++] & 0xFF;
            final int size = SMBUtil.readInt2(buf, bi);
            bi += 2;
            this.access = SMBUtil.readInt4(buf, bi);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.6K bytes
    - Click Count (0)
Back to Top