Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 680 for iostream (0.45 sec)

  1. native-image-tests/src/test/kotlin/okhttp3/nativeimage/WithArgumentSourceTest.kt

     * limitations under the License.
     */
    package okhttp3.nativeimage
    
    import assertk.assertThat
    import assertk.assertions.isGreaterThan
    import java.util.stream.Stream
    import org.junit.jupiter.api.extension.ExtensionContext
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.Arguments
    import org.junit.jupiter.params.provider.ArgumentsProvider
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:31:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

     *
     * <p>All other methods delegate to the wrapped input stream.</p>
     *
     */
    public class IgnoreCloseInputStream extends InputStream {
    
        /** The wrapped input stream. */
        private transient InputStream inputStream;
    
        /**
         * Constructs a new IgnoreCloseInputStream that wraps the specified input stream.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

            return chains().get(stream -> stream.allMatch(c -> c.changePassword(username, password)));
        }
    
        /**
         * Deletes a user from all authentication chains.
         * @param user The user to delete.
         */
        public void delete(final User user) {
            chains().of(stream -> stream.forEach(c -> c.delete(user)));
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            assertThrows(IOException.class, () -> sis.read());
        }
    
        @Test
        @DisplayName("Available returns underlying stream available when no message buffered")
        void availableReturnsUnderlyingWhenNoMessage() throws IOException {
            // Mock input stream that reports available bytes
            InputStream mockIn = mock(InputStream.class);
            when(mockIn.available()).thenReturn(42);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java

     */
    package org.codelibs.fess.app.web.api.admin.labeltype;
    
    import static org.codelibs.core.stream.StreamUtil.stream;
    import static org.codelibs.fess.app.web.admin.labeltype.AdminLabeltypeAction.getLabelType;
    
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

                }
            }
    
            if (code >= 400 && stream != null) {
                when(conn.getErrorStream()).thenReturn(stream);
            } else if (stream != null) {
                when(conn.getInputStream()).thenReturn(stream);
            }
        }
    
        /**
         * Test helper class for mocking URL.openConnection() behavior
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/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 {
    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/sso/aad/AzureAdAuthenticator.java

            final Pair<String[], String[]> groupsAndRoles = getParentGroup(user, id);
            StreamUtil.stream(groupsAndRoles.getFirst()).of(stream -> stream.forEach(groupList::add));
            StreamUtil.stream(groupsAndRoles.getSecond()).of(stream -> stream.forEach(roleList::add));
        }
    
        /**
         * Retrieves parent group information for the specified group ID.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                            if (!errors.isEmpty()) {
                                logger.warn("{}", errors.stream().collect(Collectors.joining(", ")));
                                if (auth.isDebugActive() && StringUtil.isNotBlank(auth.getLastErrorReason())) {
                                    logger.warn("Authentication Failure: {} - Reason: {}", errors.stream().collect(Collectors.joining(", ")),
                                            auth.getLastErrorReason());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.4K bytes
    - Viewed (3)
  10. docs/debugging/inspect/decrypt-v1.go

    	if want != got {
    		return fmt.Errorf("Invalid key checksum, want %x, got %x", want, got)
    	}
    
    	stream, err := sio.AES_256_GCM.Stream(key)
    	if err != nil {
    		return err
    	}
    	// Zero nonce, we only use each key once, and 32 bytes is plenty.
    	nonce := make([]byte, stream.NonceSize())
    	encr := stream.DecryptReader(r, nonce, nil)
    	_, err = io.Copy(w, encr)
    	if err == nil {
    		fmt.Println(okMsg)
    	}
    	return err
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 11 21:22:47 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top