Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 59 for SetUint (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            field.setInt(response, headerStart);
        }
    
        /**
         * Helper method to set status using reflection
         */
        private void setStatus(Smb2ChangeNotifyResponse response, int status) throws Exception {
            Field statusField = ServerMessageBlock2.class.getDeclaredField("status");
            statusField.setAccessible(true);
            statusField.setInt(response, status);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtSocket.java

            if (calledName == null) {
                this.calledName = address.hostName;
            } else {
                this.calledName = new Name(calledName, 0x20, null);
            }
            soTimeout = Config.getInt("jcifs.smb1.netbios.soTimeout", DEFAULT_SO_TIMEOUT);
            connect();
        }
    
        /**
         * Returns the NetBIOS address associated with this socket.
         *
         * @return the NetBIOS address
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

        private static final int LOOKUP_RESP_LIMIT = Config.getInt("jcifs.smb1.netbios.lookupRespLimit", 3);
        private static final String DOMAIN = Config.getProperty("jcifs.smb1.smb.client.domain", null);
        private static final String USERNAME = Config.getProperty("jcifs.smb1.smb.client.username", null);
        private static final int CACHE_POLICY = Config.getInt("jcifs.smb1.netbios.cachePolicy", 60 * 10) * 60; /* 10 hours */
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.Config;
    
    class SmbComSessionSetupAndX extends AndXServerMessageBlock {
    
        private static final int BATCH_LIMIT = Config.getInt("jcifs.smb1.smb.client.SessionSetupAndX.TreeConnectAndX", 1);
        private static final boolean DISABLE_PLAIN_TEXT_PASSWORDS = Config.getBoolean("jcifs.smb1.smb.client.disablePlainTextPasswords", true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        @Override
        public Hasher putBytes(ByteBuffer buffer) {
          ByteOrder bo = buffer.order();
          buffer.order(ByteOrder.LITTLE_ENDIAN);
          while (buffer.remaining() >= 4) {
            putInt(buffer.getInt());
          }
          while (buffer.hasRemaining()) {
            putByte(buffer.get());
          }
          buffer.order(bo);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

    import jcifs.smb1.Config;
    import jcifs.smb1.util.Hexdump;
    
    abstract class SmbComTransaction extends ServerMessageBlock implements Enumeration {
    
        private static final int DEFAULT_MAX_DATA_COUNT =
                Config.getInt("jcifs.smb1.smb.client.transaction_buf_size", SmbComTransaction.TRANSACTION_BUF_SIZE) - 512;
    
        // relative to headerStart
        private static final int PRIMARY_SETUP_OFFSET = 61;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

                    if (read < 0) {
                        throw new IOException("Connection closed by peer");
                    }
                }
    
                headerBuffer.flip();
                int messageSize = headerBuffer.getInt();
    
                // Now read the message body
                ByteBuffer messageBuffer = ByteBuffer.allocate(messageSize);
                while (messageBuffer.hasRemaining()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

            // Use reflection to set dataCount
            Field dataCountField = SmbComTransactionResponse.class.getDeclaredField("dataCount");
            dataCountField.setAccessible(true);
            dataCountField.setInt(response, 42);
    
            assertEquals(42, response.getResponseLength());
        }
    
        @Test
        void testGetResponseLengthWithZeroDataCount() {
            assertEquals(0, response.getResponseLength());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

            realm = Config.getProperty("jcifs.smb1.http.basicRealm");
            if (realm == null) {
                realm = "jCIFS";
            }
    
            level = Config.getInt("jcifs.smb1.util.loglevel", -1);
            if (level != -1) {
                LogStream.setLevel(level);
            }
            if (LogStream.level > 2) {
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. lib/fips140/v1.0.0.zip

    i]) i -= _S k++ } for s := 0; s < _W && k < len(x.limbs) && i > 0; s += 8 { x.limbs[k] |= uint(b[i-1]) << s i-- } if i > 0 { return errors.New("input overflows the modulus size") } return nil } // SetUint assigns x = y. // // The output will be resized to a single limb and overwritten. func (x *Nat) SetUint(y uint) *Nat { x.reset(1) x.limbs[0] = y return x } // Equal returns 1 if x == y, and 0 otherwise. // // Both operands must have the same announced length. // //go:norace func (x *Nat) Equal(y *Nat)...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top