Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 766 for decodes (0.57 seconds)

  1. src/main/java/jcifs/http/NtlmServlet.java

                    if (ntlm == null) {
                        return;
                    }
                } else {
                    final String auth = new String(Base64.decode(msg.substring(6)), "US-ASCII");
                    int index = auth.indexOf(':');
                    String user = index != -1 ? auth.substring(0, index) : auth;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.1K bytes
    - Click Count (1)
  2. architecture/standards/0008-use-nullaway.md

          When doing so, still annotate nullable parameters and the return type as `@Nullable`.
      * Do not use `@Contract` for public APIs.
      * For polynull public APIs, the solution has to be decided on a case-by-case basis.
    
    Do not remove `null` checks on public API boundaries, even if the annotations (or rather lack of them) suggest this.
    Not all client code is compiled with NullAway.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

         *
         * @param data encoded data
         * @param offset offset in data
         * @return parsed NetworkInterfaceInfo
         */
        public static NetworkInterfaceInfo decode(byte[] data, int offset) {
            // Ensure we have enough data for the full structure
            if (data.length < offset + Smb2ChannelCapabilities.NETWORK_INTERFACE_INFO_SIZE) {
                return null;
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  4. fastapi/encoders.py

        if isinstance(exponent, int) and exponent >= 0:
            return int(dec_value)
        else:
            return float(dec_value)
    
    
    ENCODERS_BY_TYPE: dict[type[Any], Callable[[Any], Any]] = {
        bytes: lambda o: o.decode(),
        Color: str,  # ty: ignore[deprecated]
        datetime.date: isoformat,
        datetime.datetime: isoformat,
        datetime.time: isoformat,
        datetime.timedelta: lambda td: td.total_seconds(),
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  5. api/go1.23.txt

    pkg debug/elf, const STT_SRELC = 9 #66836
    pkg debug/elf, const STT_SRELC SymType #66836
    pkg encoding/binary, func Append([]uint8, ByteOrder, interface{}) ([]uint8, error) #60023
    pkg encoding/binary, func Decode([]uint8, ByteOrder, interface{}) (int, error) #60023
    pkg encoding/binary, func Encode([]uint8, ByteOrder, interface{}) (int, error) #60023
    pkg go/ast, func Preorder(Node) iter.Seq[Node] #66339
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jun 25 17:08:08 GMT 2024
    - 10.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                    }
    
                    System.arraycopy(frag, 24, stub, off, stub_frag_len);
                    off += stub_frag_len;
                }
    
                buf = new NdrBuffer(stub, 0);
                msg.decode(buf);
            } finally {
                jcifs.smb1.smb1.BufferCache.releaseBuffer(stub);
            }
    
            de = msg.getResult();
            if (de != null) {
                throw de;
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            assertEquals(context.size(), encoded);
    
            DirectoryLeaseContext decodedContext = new DirectoryLeaseContext(new Smb2LeaseKey(), 0, DirectoryCacheScope.IMMEDIATE_CHILDREN);
    
            decodedContext.decode(buffer, 0, buffer.length);
    
            // Verify roundtrip integrity
            assertEquals(context.getLeaseState(), decodedContext.getLeaseState());
            assertEquals(context.getCacheScope(), decodedContext.getCacheScope());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  8. fastapi/security/http.py

                if self.auto_error:
                    raise self.make_not_authenticated_error()
                else:
                    return None
            try:
                data = b64decode(param).decode("ascii")
            except (ValueError, UnicodeDecodeError, binascii.Error) as e:
                raise self.make_not_authenticated_error() from e
            username, separator, password = data.partition(":")
            if not separator:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 16 10:16:48 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

            int dataBytes = transaction.readDataWireFormat(buffer, 0, 60);
            assertEquals(50, dataBytes, "readDataWireFormat should return expected bytes");
        }
    
        @Test
        @DisplayName("Test hasMoreElements becomes false when all data is sent")
        void testHasMoreElementsBecomeFalse() {
            // Set small amounts so everything fits in one message
            transaction.setParameterBytesWritten(10);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

    import java.net.ProtocolException
    import okio.Buffer
    import okio.BufferedSource
    import okio.ByteString
    import okio.ForwardingSource
    import okio.Source
    import okio.buffer
    
    /**
     * Streaming decoder of data encoded following Abstract Syntax Notation One (ASN.1). There are
     * multiple variants of ASN.1, including:
     *
     *  * DER: Distinguished Encoding Rules. This further constrains ASN.1 for deterministic encoding.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.5K bytes
    - Click Count (0)
Back to Top