Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 68 for geteuid (0.04 sec)

  1. src/main/java/jcifs/smb/SmbFileOutputStream.java

                        len -= cnt;
                        off += cnt;
                    } else if (this.useNTSmbs) {
                        this.reqx.setParam(fh.getFid(), this.fp, len - w, b, off, w);
                        if ((flags & 1) != 0) {
                            this.reqx.setParam(fh.getFid(), this.fp, len, b, off, w);
                            this.reqx.setWriteMode(0x8);
                        } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            assertNotNull(cancelRequest);
            assertTrue(cancelRequest instanceof SmbComNtCancel);
    
            // Verify the cancel request has the correct MID
            assertEquals(12345, cancelRequest.getMid());
        }
    
        @Test
        @DisplayName("Test writeParameterWordsWireFormat for primary NT transaction")
        void testWriteParameterWordsWireFormatPrimary() {
            byte[] dst = new byte[256];
    
    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/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)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

            // Value taken from super model
            // ----------------------------------------------------------------------
    
            assertEquals("4.0.0", project4.getModelVersion());
    
            Build build = project4.getBuild();
            List<Plugin> plugins = build.getPlugins();
    
            Map<String, Integer> validPluginCounts = new HashMap<>();
    
            String testPluginArtifactId = "maven-compiler-plugin";
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jun 04 10:35:11 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java

        }
    
        /**
         *
         * @return a cancel request
         */
        @Override
        public CommonServerMessageBlockRequest createCancel() {
            return new SmbComNtCancel(getConfig(), (int) getMid());
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            if (this.getCommand() != SMB_COM_NT_TRANSACT_SECONDARY) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java

            super(config, andxResp);
        }
    
        /**
         * Gets the file identifier.
         *
         * @return the fid
         */
        public final int getFid() {
            return this.fid;
        }
    
        /**
         * Gets the file data size.
         *
         * @return the dataSize
         */
        public final int getDataSize() {
            return this.fileDataSize;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeInputStream.java

                    return ((SrvPipePeekResponse) resp.getOutputData()).getReadDataAvailable();
                }
                final TransPeekNamedPipe req = new TransPeekNamedPipe(th.getConfig(), this.handle.getUncPath(), fd.getFid());
                final TransPeekNamedPipeResponse resp = new TransPeekNamedPipeResponse(th.getConfig());
                th.send(req, resp, RequestParam.NO_RETRY);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileInputStream.java

                            continue;
                        }
    
                        // SMB1 path with optimization
                        final SmbComReadAndX request = new SmbComReadAndX(th.getConfig(), fd.getFid(), this.fp, r, null);
    
                        if (type == SmbConstants.TYPE_NAMED_PIPE) {
                            // Use fixed 1024 values for named pipes
                            request.setMinCount(1024);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SID.java

        }
    
        /**
         * Get the RID
         *
         * This is the last subauthority identifier
         *
         * @return the RID
         */
        @Override
        public int getRid() {
            if (getType() == SID_TYPE_DOMAIN) {
                throw new IllegalArgumentException("This SID is a domain sid");
            }
            return this.sub_authority[this.sub_authority_count - 1];
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java

         */
        public final byte getOplockLevel() {
            return this.oplockLevel;
        }
    
        /**
         * Gets the file identifier.
         *
         * @return the fid
         */
        public final int getFid() {
            return this.fid;
        }
    
        /**
         * Gets the create action taken.
         *
         * @return the createAction
         */
        public final int getCreateAction() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top