Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for ridx (0.14 sec)

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

            }
        }
    
    
        protected final FileEntry advance ( boolean last ) throws CIFSException {
            FileEntry[] results = getResults();
            while ( this.ridx < results.length ) {
                FileEntry itm = results[ this.ridx ];
                this.ridx++;
                if ( filter(itm) ) {
                    return itm;
                }
            }
    
            if ( !last && !isDone() ) {
                if ( !fetchMore() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NetServerEnumIterator.java

            int n = this.response.getStatus() == WinError.ERROR_MORE_DATA ? this.response.getNumEntries() - 1 : this.response.getNumEntries();
            while ( this.ridx < n ) {
                FileEntry itm = this.response.getResults()[ this.ridx ];
                this.ridx++;
                if ( filter(itm) ) {
                    return itm;
                }
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrAliasHandle.java

        public SamrAliasHandle(DcerpcHandle handle,
                    SamrDomainHandle domainHandle,
                    int access,
                    int rid) throws IOException {
            this.handle = handle;
            MsrpcSamrOpenAlias rpc = new MsrpcSamrOpenAlias(domainHandle, access, rid, this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0)
                throw new SmbException(rpc.retval, false);
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SID.java

        /**
         * Construct a SID from a domain SID and an RID
         * (relative identifier). For example, a domain SID
         * <tt>S-1-5-21-1496946806-2192648263-3843101252</tt> and RID <tt>1029</tt> would
         * yield the SID <tt>S-1-5-21-1496946806-2192648263-3843101252-1029</tt>.
         * 
         * @param domsid
         * @param rid
         */
        public SID ( SID domsid, int rid ) {
            this.revision = domsid.revision;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java

        private boolean opened;
    
    
        public SamrAliasHandle ( DcerpcHandle handle, SamrDomainHandle domainHandle, int access, int rid ) throws IOException {
            this.handle = handle;
            MsrpcSamrOpenAlias rpc = new MsrpcSamrOpenAlias(domainHandle, access, rid, this);
            handle.sendrecv(rpc);
            if ( rpc.retval != 0 ) {
                throw new SmbException(rpc.retval, false);
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/NamingTest.java

            ByteBuffer buf = ByteBuffer.allocate(128);
            Arrays.sort(excludes);
            for ( int i = 128; i < 255; i++ ) {
                int idx = Arrays.binarySearch(excludes, i);
                if ( idx < 0 || excludes[ idx ] == i ) {
                    continue;
                }
    
                if ( i == 240 ) {
                    continue;
                }
                buf.put((byte) i);
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 06 10:48:05 GMT 2020
    - 7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            this.buf = buf;
            this.start = index = start;
            length = 0;
            deferred = this;
        }
    
        public NdrBuffer derive(int idx) {
            NdrBuffer nb = new NdrBuffer(buf, start);
            nb.index = idx;
            nb.deferred = deferred;
            return nb;
        }
    
    
        
        public void reset() {
            this.index = start;
            length = 0;
            deferred = this;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/SidTest.java

        public void resolveWellKnownUsers () throws IOException {
            SID domsid = new SID(getRequiredProperty(TestProperties.TEST_DOMAIN_SID));
            int rids[] = new int[] {
                500, 501
            };
            for ( int rid : rids ) {
                SID sid = new SID(domsid, rid);
                sid.resolve(getRequiredProperty(TestProperties.TEST_DOMAIN_DC), withTestNTLMCredentials(getContext()));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/FileAttributesTest.java

        }
    
    
        @Test
        public void testFileIndex () throws IOException {
            try ( SmbFile f = createTestFile() ) {
                try {
                    long idx = f.fileIndex();
                    Assume.assumeTrue("FileIndex unsupported", idx != 0);
                }
                finally {
                    f.delete();
                }
            }
        }
    
    
        /**
         * @author Ilan Goldfeld
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

            public int rid;
            public rpc.policy_handle alias_handle;
    
            public SamrOpenAlias(rpc.policy_handle domain_handle,
                        int access_mask,
                        int rid,
                        rpc.policy_handle alias_handle) {
                this.domain_handle = domain_handle;
                this.access_mask = access_mask;
                this.rid = rid;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 14K bytes
    - Viewed (0)
Back to top