Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 468 for iostream (0.35 sec)

  1. src/main/java/jcifs/smb1/util/LogStream.java

    N - debugging
     */
    
    public class LogStream extends PrintStream {
    
        private static LogStream inst;
    
        /**
         * The current logging level.
         */
        public static int level = 1;
    
        /**
         * Constructs a LogStream with the specified output stream.
         *
         * @param stream the output stream for logging
         */
        public LogStream(final PrintStream stream) {
            super(stream);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/Lmhosts.java

        private static final Hashtable TAB = new Hashtable();
        private static long lastModified = 1L;
        private static int alt;
        private static LogStream log = LogStream.getInstance();
    
        /**
         * This is really just for {@link jcifs.smb1.UniAddress}. It does
         * not throw an {@link java.net.UnknownHostException} because this
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Streams.java

      }
    
      /**
       * Returns an {@link IntStream} containing the elements of the first stream, followed by the
       * elements of the second stream, and so on.
       *
       * <p>This is equivalent to {@code Stream.of(streams).flatMapToInt(stream -> stream)}, but the
       * returned stream may perform better.
       *
       * @see IntStream#concat(IntStream, IntStream)
       */
      public static IntStream concat(IntStream... streams) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/LogStreamTest.java

            // Test constructor creates a LogStream that extends PrintStream
            LogStream logStream = new LogStream(testStream);
            assertNotNull(logStream);
            assertTrue(logStream instanceof PrintStream);
        }
    
        @Test
        void testSetLevel() {
            // Test setting log level
            LogStream.setLevel(0);
            assertEquals(0, LogStream.level);
    
            LogStream.setLevel(1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/ImmutableIntArray.java

     * <Integer>}:
     *
     * <ul>
     *   <li>Improved memory compactness and locality.
     *   <li>Can be queried without allocating garbage.
     *   <li>Access to {@code IntStream} features (like {@link IntStream#sum}) using {@code stream()}
     *       instead of the awkward {@code stream().mapToInt(v -> v)}.
     * </ul>
     *
     * <p>Disadvantages compared to {@code ImmutableList<Integer>}:
     *
     * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public ActionResponse download(final String id) {
            if (stream(fessConfig.getIndexBackupAllTargets()).get(stream -> stream.anyMatch(s -> s.equals(id)))) {
                if ("system.properties".equals(id)) {
                    return asStream(id).contentTypeOctetStream().stream(out -> {
                        try (final ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/transport/Transport.java

         */
        public Transport() {
            // Default constructor
        }
    
        static int id = 0;
        static LogStream log = LogStream.getInstance();
    
        /**
         * Reads exactly len bytes from the input stream into the buffer.
         *
         * @param in the input stream to read from
         * @param b the buffer to read into
         * @param off the offset in the buffer to start writing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. cmd/postpolicyform.go

    	var buf bytes.Buffer
    	e := json.NewEncoder(&buf)
    	d := jstream.NewDecoder(r, 0).ObjectAsKVS().MaxDepth(10)
    	sset := set.NewStringSet()
    	for mv := range d.Stream() {
    		if mv.ValueType == jstream.Object {
    			// This is a JSON object type (that preserves key order)
    			kvs, ok := mv.Value.(jstream.KVS)
    			if ok {
    				for _, kv := range kvs {
    					if sset.Contains(kv.Key) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

                ioe = new InterruptedIOException(root.getMessage());
                ioe.initCause(root);
            }
            return ioe;
        }
    
        /**
         * Closes this input stream and releases any system resources associated with the stream.
         *
         * @throws IOException if a network error occurs
         */
    
        @Override
        public void close() throws IOException {
            try {
                file.close();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

         *
         * @param id the backup file ID to download
         * @return stream response containing the backup file data
         */
        // GET /api/admin/backup/file/{id}
        @Execute
        public StreamResponse get$file(final String id) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            if (stream(fessConfig.getIndexBackupAllTargets()).get(stream -> stream.anyMatch(s -> s.equals(id)))) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top