Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 430 for sflags (0.05 sec)

  1. src/main/java/jcifs/spnego/NegTokenInit.java

        /**
         * Checks if a specific context flag is set
         * @param flag the context flag to check
         * @return true if the flag is set, false otherwise
         */
        public boolean getContextFlag(final int flag) {
            return (getContextFlags() & flag) == flag;
        }
    
        /**
         * Sets or clears a specific context flag
         * @param flag the context flag to set or clear
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            @DisplayName("Should encode consistently with various flag values")
            @ValueSource(ints = { 0, 1, 2, 4, 16, 0xFF, 0xFFFF, 0xFFFFFF, 0x7FFFFFFF, -1 })
            void testEncodingWithVariousFlags(int flags) {
                lock = new Smb2Lock(1024L, 2048L, flags);
                int encoded = lock.encode(buffer, 0);
    
                assertEquals(24, encoded);
                assertEquals(flags, SMBUtil.readInt4(buffer, 16));
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

        val result = mutableListOf<InetAddress>()
    
        val buf = Buffer()
        buf.write(byteString)
        buf.readShort() // query id
    
        val flags = buf.readShort().toInt() and 0xffff
        require(flags shr 15 != 0) { "not a response" }
    
        val responseCode = flags and 0xf
    
        if (responseCode == NXDOMAIN) {
          throw UnknownHostException("$hostname: NXDOMAIN")
        } else if (responseCode == SERVFAIL) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. tensorflow/__init__.py

    # pylint: disable=g-bad-import-order
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
    
    from tensorflow.python.platform import flags  # pylint: disable=g-import-not-at-top
    from tensorflow.python.platform import app  # pylint: disable=g-import-not-at-top
    app.flags = flags
    
    # These symbols appear because we import the python package which
    # in turn imports from tensorflow.core and tensorflow.python. They
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

        void testType1MessageWithFlags() {
            // Given
            int flags =
                    NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE | NtlmFlags.NTLMSSP_NEGOTIATE_NTLM | NtlmFlags.NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED;
    
            // When
            Type1Message type1 = new Type1Message(mockContext, flags, null, null);
    
            // Then
            // Note: Constructor sets default flags OR'd with provided flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

        /**
         * Checks if a specific flag is set
         * @param flag the flag to check
         * @return true if the flag is set, false otherwise
         */
        public boolean isFlagSet(final int flag) {
            return (flags & flag) == flag;
        }
    
        /**
         * Unsets a specific flag
         * @param flag the flag to unset
         */
        public void unsetFlag(final int flag) {
            flags &= ~flag;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            for (int flag : new int[] { 0, 0xFF, 0x01, 0x80 }) {
                TestMessage m = new TestMessage();
                m.ptype = 0;
                m.flags = flag;
    
                NdrBuffer buf = new NdrBuffer(new byte[1024], 0);
                m.encode(buf);
    
                // Reset and skip to flags field
                buf.setIndex(3);
                assertEquals(flag, buf.dec_ndr_small());
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

         * @param user the username
         * @param workstation the workstation name
         * @param flags the flags to use for the Type-3 message
         */
        public Type3Message(final Type2Message type2, final String password, final String domain, final String user, String workstation,
                final int flags) {
            setFlags(flags | getDefaultFlags(type2));
            if (workstation == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  9. cmd/batch-rotate_gen.go

    					err = z.Flags.Filter.DecodeMsg(dc)
    					if err != nil {
    						err = msgp.WrapError(err, "Flags", "Filter")
    						return
    					}
    				case "Notify":
    					err = z.Flags.Notify.DecodeMsg(dc)
    					if err != nil {
    						err = msgp.WrapError(err, "Flags", "Notify")
    						return
    					}
    				case "Retry":
    					err = z.Flags.Retry.DecodeMsg(dc)
    					if err != nil {
    						err = msgp.WrapError(err, "Flags", "Retry")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

            return new Smb2IoctlResponse(tc.getConfig(), this.outputBuffer, this.controlCode);
        }
    
        /**
         * Set the IOCTL flags
         * @param flags the flags to set
         */
        public void setFlags(final int flags) {
            this.flags = flags;
        }
    
        /**
         * Set the maximum input response size
         * @param maxInputResponse the maxInputResponse to set
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top