Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 111 for Getuid (0.5 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            setTreeIdMethod.setAccessible(true);
            setTreeIdMethod.invoke(response, 12345);
    
            // When
            int tid = response.getTid();
    
            // Then
            assertEquals(12345, tid);
        }
    
        @Test
        @DisplayName("Should validate TID correctly")
        void testIsValidTid() throws Exception {
            // Test invalid TID (-1)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            // Set MID to 0
            transaction.setMid(0);
    
            // Create cancel request
            CommonServerMessageBlockRequest cancelRequest = transaction.createCancel();
    
            // Verify it still creates a valid cancel request
            assertNotNull(cancelRequest);
            assertTrue(cancelRequest instanceof SmbComNtCancel);
            assertEquals(0, cancelRequest.getMid());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

                result[8 + i] = (byte) (leastSig >>> (56 - i * 8));
            }
    
            return result;
        }
    
        /**
         * Get the underlying UUID
         * @return the UUID
         */
        public UUID getUuid() {
            return guid;
        }
    
        @Override
        public String toString() {
            return guid.toString();
        }
    
        @Override
        public boolean equals(Object obj) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

            super(config, SMB_COM_TRANSACTION2, SmbComTransaction.TRANS2_FIND_FIRST2);
        }
    
        /**
         * Gets the search ID for this response.
         *
         * @return the sid
         */
        public final int getSid() {
            return this.sid;
        }
    
        /**
         * Checks if this is the end of the search results.
         *
         * @return the isEndOfSearch
         */
        public final boolean isEndOfSearch() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcBind.java

            buf.enc_ndr_short(0); /* reserved2 */
            buf.enc_ndr_short(0); /* context id */
            buf.enc_ndr_small(1); /* number of items */
            buf.enc_ndr_small(0); /* reserved */
            this.binding.getUuid().encode(buf);
            buf.enc_ndr_short(this.binding.getMajor());
            buf.enc_ndr_short(this.binding.getMinor());
            DCERPC_UUID_SYNTAX_NDR.encode(buf);
            buf.enc_ndr_long(2); /* syntax version */
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

            }
            return resp;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#setTid(int)
         */
        @Override
        public void setTid(final int t) {
            setTreeId(t);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#encode(byte[], int)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.getLocalTimezone();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getPid()
         */
        @Override
        public int getPid() {
            return this.delegate.getPid();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getMaxMpxCount()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                            n = -1;
                        }
                    } else {
                        final SmbComReadAndX request = new SmbComReadAndX(th.getConfig(), fh.getFid(), this.fp, r, null);
                        if (this.largeReadX) {
                            request.setMaxCount(r & 0xFFFF);
                            request.setOpenTimeout(r >> 16 & 0xFFFF);
                        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            when(tree.isConnected()).thenReturn(true);
            assertTrue(h.isValid());
            h.markClosed();
            assertFalse(h.isValid());
        }
    
        @Test
        @DisplayName("getFid/getFileId throw SmbException when invalid")
        void getters_throw_whenInvalid() {
            when(cfg.isTraceResourceUsage()).thenReturn(false);
            stubValidTree(1L, true, true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. cmd/metrics-v3-cluster-erasure-set.go

    	erasureSetWriteTolerance     = "write_tolerance"
    	erasureSetReadHealth         = "read_health"
    	erasureSetWriteHealth        = "write_health"
    )
    
    const (
    	poolIDL = "pool_id"
    	setIDL  = "set_id"
    )
    
    var (
    	erasureSetOverallWriteQuorumMD = NewGaugeMD(erasureSetOverallWriteQuorum,
    		"Overall write quorum across pools and sets")
    	erasureSetOverallHealthMD = NewGaugeMD(erasureSetOverallHealth,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 14 07:25:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top