Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,922 for try (0.02 sec)

  1. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            byte[] p21 = new byte[21];
            byte[] p24 = new byte[24];
            byte[] passwordBytes;
            try {
                passwordBytes = password.toUpperCase().getBytes( ServerMessageBlock.OEM_ENCODING );
            } catch( UnsupportedEncodingException uee ) {
                throw new RuntimeException("Try setting jcifs.smb1.encoding=US-ASCII", uee);
            }
            int passwordLength = passwordBytes.length;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

        public void destroy() {
            generating = false;
            thumbnailQueueThread.interrupt();
            try {
                thumbnailQueueThread.join(10000);
            } catch (final InterruptedException e) {
                logger.warn("Thumbnail thread is timeouted.", e);
            }
            generatorList.forEach(g -> {
                try {
                    g.destroy();
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

        }
    
        public void test_execute_web() throws Exception {
            final CrawlerWebServer server = new CrawlerWebServer(7070);
            server.start();
    
            final String url = "http://localhost:7070/";
            try {
                final int maxCount = 50;
                final int numOfThread = 10;
    
                final File file = File.createTempFile("crawler-", "");
                file.delete();
                file.mkdirs();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileInputStream.java

            this.openFlags = openFlags;
            this.access = access;
            this.sharing = sharing;
    
            try ( SmbTreeHandleInternal th = file.ensureTreeConnected() ) {
                this.smb2 = th.isSMB2();
                if ( file.getType() != SmbConstants.TYPE_NAMED_PIPE ) {
                    try ( SmbFileHandle h = ensureOpen() ) {}
                    this.openFlags &= ~ ( SmbConstants.O_CREAT | SmbConstants.O_TRUNC );
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

            try (BufferedReader br = new BufferedReader(readerSupplier.open(), BUFFER_SIZE)) {
                br.mark(BUFFER_SIZE);
                XMLStreamReader xsr = XMLInputFactory.newFactory().createXMLStreamReader(br);
                xsr.nextTag();
                String nsUri = xsr.getNamespaceURI();
                try (BufferedReader br2 = reset(readerSupplier, br)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/TextTransformer.java

            params.put(ExtractData.RESOURCE_NAME_KEY, getResourceName(responseData));
            params.put(ExtractData.CONTENT_TYPE, responseData.getMimeType());
            String content = null;
            try (final InputStream in = responseData.getResponseBody()) {
                content = extractor.getText(in, params).getContent();
            } catch (final Exception e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/esreq/AdminEsreqAction.java

            } else {
                try (final CurlResponse response = curlRequest.body(buf.toString()).execute()) {
                    final File tempFile = ComponentUtil.getSystemHelper().createTempFile("esreq_", ".json");
                    try (final InputStream in = response.getContentAsStream()) {
                        CopyUtil.copy(in, tempFile);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/Handler.java

                        if (provider.equals("jcifs.smb1")) continue;
                        String className = provider + "." + protocol + ".Handler";
                        try {
                            Class handlerClass = null;
                            try {
                                handlerClass = Class.forName(className);
                            } catch (Exception ex) { }
                            if (handlerClass == null) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  9. docs_src/path_operation_advanced_configuration/tutorial007_pv1.py

                "required": True,
            },
        },
    )
    async def create_item(request: Request):
        raw_body = await request.body()
        try:
            data = yaml.safe_load(raw_body)
        except yaml.YAMLError:
            raise HTTPException(status_code=422, detail="Invalid YAML")
        try:
            item = Item.parse_obj(data)
        except ValidationError as e:
            raise HTTPException(status_code=422, detail=e.errors())
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 789 bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                if ( log.isDebugEnabled() ) {
                    log.debug("Trying address {}", addr);
                }
                try ( SmbTransportImpl trans = getSmbTransport(tf, addr, port, exclusive, forceSigning).unwrap(SmbTransportImpl.class) ) {
                    try {
                        trans.ensureConnected();
                    }
                    catch ( IOException e ) {
                        removeTransport(trans);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
Back to top