Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 213 for grid (0.03 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            int byteCountValue = 16 + 10; // guid + token
            setByteCount(response, byteCountValue);
            byte[] buffer = new byte[byteCountValue];
            byte[] guid = new byte[16];
            for (int i = 0; i < 16; i++) {
                guid[i] = (byte) i;
            }
            System.arraycopy(guid, 0, buffer, 0, 16);
            byte[] token = new byte[10];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

                new SamrAliasHandle(mockDcerpcHandle, mockSamrDomainHandle, access, rid);
            });
    
            assertEquals(errorCode, thrown.getNtStatus());
        }
    
        @Test
        void close_shouldCloseAliasSuccessfully() throws IOException {
            // Arrange
            int access = 1;
            int rid = 100;
    
            // Mock constructor success
            doAnswer(invocation -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java

        }
    
        @Test
        public void testDurableHandleV2RequestWithGuid() {
            HandleGuid guid = new HandleGuid();
            DurableHandleV2Request request = new DurableHandleV2Request(60000, false, guid);
    
            assertEquals(guid, request.getCreateGuid());
            assertEquals(60000, request.getTimeoutMs());
            assertFalse(request.isPersistent());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            verify(mockNdrBuffer, times(4)).enc_ndr_referent(null, 1); // name.buffer, dns_domain.buffer, dns_forest.buffer, sid
    
            verify(mockNdrBuffer).enc_ndr_long(dnsDomainInfo.domain_guid.time_low);
            // Note: enc_ndr_short(0) for guid fields is already verified above with times(8)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAlias.java

         * @param access the desired access rights
         * @param rid the relative identifier of the alias
         * @param aliasHandle the alias handle to be populated
         */
        public MsrpcSamrOpenAlias(final SamrDomainHandle handle, final int access, final int rid, final SamrAliasHandle aliasHandle) {
            super(handle, access, rid, aliasHandle);
            this.ptype = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. src/archive/tar/stat_unix.go

    }
    
    // userMap and groupMap caches UID and GID lookups for performance reasons.
    // The downside is that renaming uname or gname by the OS never takes effect.
    var userMap, groupMap sync.Map // map[int]string
    
    func statUnix(fi fs.FileInfo, h *Header, doNameLookups bool) error {
    	sys, ok := fi.Sys().(*syscall.Stat_t)
    	if !ok {
    		return nil
    	}
    	h.Uid = int(sys.Uid)
    	h.Gid = int(sys.Gid)
    	if doNameLookups {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_function.cc

      if (TF_GetCode(status) != TF_OK) return;
      if (!grad) return;
    
      status->status = g->graph.AddFunctionDef(grad->record->fdef(),
                                               grad->record->stack_traces());
      if (TF_GetCode(status) != TF_OK) return;
    
      tensorflow::GradientDef gdef;
      gdef.set_function_name(func->record->fdef().signature().name());
      gdef.set_gradient_func(grad->record->fdef().signature().name());
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

            /** Relative identifier. */
            public int rid;
            /** Index of the SID in the domain list. */
            public int sid_index;
    
            @Override
            public void encode(final NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_short(this.sid_type);
                _dst.enc_ndr_long(this.rid);
                _dst.enc_ndr_long(this.sid_index);
    
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrAliasHandle.java

         * @param access the desired access rights
         * @param rid the relative identifier of the alias
         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrAliasHandle(final DcerpcHandle handle, final SamrDomainHandle domainHandle, final int access, final int rid)
                throws IOException {
            this.handle = handle;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrOpenAlias.java

         * @param access the desired access rights
         * @param rid the relative identifier of the alias
         * @param aliasHandle the alias handle to be populated
         */
        public MsrpcSamrOpenAlias(final SamrDomainHandle handle, final int access, final int rid, final SamrAliasHandle aliasHandle) {
            super(handle, access, rid, aliasHandle);
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top