Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 152 for setPid (0.22 sec)

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

                // fall trough if the tree connection is already established
                // and send it as a separate request instead
                String svc = null;
                final int t = this.tid;
                request.setTid(t);
    
                if (!transport.isSMB2()) {
                    final ServerMessageBlock req = (ServerMessageBlock) request;
                    svc = this.service;
                    if (svc == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            // Setup tree with configuration
            when(tree.getConfig()).thenReturn(config);
            when(tree.getSendBufferSize()).thenReturn(65536);
            when(config.getPid()).thenReturn(12345);
            when(config.getSendBufferSize()).thenReturn(65536);
    
            target = new SmbPipeHandleImpl(pipe);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            }
    
            @Test
            @DisplayName("Should throw NullPointerException with null configuration")
            void testConstructorWithNullConfig() {
                // The parent class requires a non-null configuration for getPid()
                assertThrows(NullPointerException.class, () -> {
                    new Trans2GetDfsReferralResponse(null);
                });
            }
        }
    
        @Nested
        @DisplayName("Constants Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                    for (final SearchHit hit : hits) {
                        final UpdateRequestBuilder requestBuilder =
                                builder.apply(client.prepareUpdate().setIndex(index).setId(hit.getId()), hit);
                        if (requestBuilder != null) {
                            bulkRequest.add(requestBuilder);
                        }
                        count++;
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                    return resp.getOutputLength();
                }
                if (this.transact) {
                    final TransTransactNamedPipe req = new TransTransactNamedPipe(th.getConfig(), fh.getFid(), buf, off, length);
                    final TransTransactNamedPipeResponse resp = new TransTransactNamedPipeResponse(th.getConfig(), inB);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

                    seekReq.setMode(0x2); // from EOF
                    final SmbComSeekResponse seekResp = new SmbComSeekResponse(config);
                    seekReq.setFid(response.getFid());
                    try {
                        h.send(seekReq, seekResp);
                        if (log.isDebugEnabled() && seekResp.getOffset() != fileSize) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

        private static OptionalEntity<Role> getEntity(final CreateForm form) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new Role()).map(entity -> {
                    entity.setId(Base64.getUrlEncoder().encodeToString(form.name.getBytes(Constants.CHARSET_UTF_8)));
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            @Override
            public String getProtocol() {
                return repository.getProtocol();
            }
    
            @Override
            public String getId() {
                return repository.getId();
            }
    
            @Override
            public void setId(String id) {}
    
            @Override
            public ArtifactRepositoryPolicy getSnapshots() {
                return null;
            }
    
            @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

        private static OptionalEntity<User> getEntity(final CreateForm form) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new User()).map(entity -> {
                    entity.setId(Base64.getUrlEncoder().encodeToString(form.name.getBytes(Constants.CHARSET_UTF_8)));
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.5K bytes
    - Viewed (0)
Back to top