Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for flush (0.13 sec)

  1. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            try (final StringWriter sw = new StringWriter(); final PrintWriter pw = new PrintWriter(sw)) {
                t.printStackTrace(pw);
                pw.flush();
                return systemHelper.abbreviateLongText(sw.toString());
            } catch (final IOException e) {
                logger.warn("Failed to print the stack trace {}", t.getMessage(), e);
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/BadWordService.java

                            list.add(StringUtil.EMPTY);
                        } else {
                            list.add(value.toString());
                        }
                    }
                });
    
                csvWriter.flush();
            } catch (final IOException e) {
                logger.warn("Failed to write a sugget bad word.", e);
            }
        }
    
        private static String getValue(final List<String> list, final int index) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/OutputStreamUtil.java

                throw new IORuntimeException(e);
            }
        }
    
        /**
         * {@link OutputStream}をflushします。
         *
         * @param out
         *            出力ストリーム
         */
        public static void flush(final OutputStream out) {
            if (out == null) {
                return;
            }
            try {
                out.flush();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

                                    throw new IORuntimeException(e);
                                }
                                return true;
                            });
                            writer.flush();
                        }
                    });
                }
                final String name = id.substring(0, id.length() - NDJSON_EXTENTION.length());
                if ("search_log".equals(name)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SigningDigest.java

            if( log.level >= 5 ) {
                log.println( "update: " + updates + " " + offset + ":" + len );
                Hexdump.hexdump( log, input, offset, Math.min( len, 256 ));
                log.flush();
            }
            if( len == 0 ) {
                return; /* CRITICAL */
            }
            digest.update( input, offset, len );
            updates++;
        }
        public byte[] digest() {
            byte[] b;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/score/ScoreBooster.java

                        .setScript(new Script(ScriptType.INLINE, scriptLang, scriptCode, params)));
            }
            if (bulkRequestBuilder.numberOfActions() > requestCacheSize) {
                flush();
            }
            return (long) ids.length;
        };
    
        public abstract long process();
    
        protected void enable() {
            final ScoreUpdater scoreUpdater = ComponentUtil.getComponent("scoreUpdater");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

            try (final XContentBuilder builder = func.apply(mediaType.contentBuilder(), ToXContent.EMPTY_PARAMS)) {
                builder.flush();
                return builder.getOutputStream();
            } catch (final IOException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to print the output.", e);
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

                }
                try (final StringWriter sw = new StringWriter(); final PrintWriter pw = new PrintWriter(sw)) {
                    cause.printStackTrace(pw);
                    pw.flush();
                    sb.append(" [ ").append(sw.toString()).append(" ]");
                } catch (final IOException ignore) {}
                return sb.toString();
            };
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                    }
                }
                return null;
            }
    
            @Override
            public void close() {
                try {
                    writer.flush();
                } catch (final IOException e) {
                    // ignore
                }
                CloseableUtil.closeQuietly(writer);
    
                if (isCommit) {
                    try {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

        private byte[] fileId;
    
    
        /**
         * @param config
         * @param fileId
         */
        public Smb2FlushRequest ( Configuration config, byte[] fileId ) {
            super(config, SMB2_FLUSH);
            this.fileId = fileId;
        }
    
    
        @Override
        protected Smb2FlushResponse createResponse ( CIFSContext tc, ServerMessageBlock2Request<Smb2FlushResponse> req ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.7K bytes
    - Viewed (0)
Back to top