Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 550 for dangling (0.05 seconds)

  1. src/main/java/org/codelibs/core/io/InputStreamUtil.java

            final ByteArrayOutputStream os = new ByteArrayOutputStream(BUF_SIZE);
            CopyUtil.copy(is, os);
            return os.toByteArray();
        }
    
        /**
         * A method that wraps exception handling for {@link InputStream#available()}.
         *
         * @param is the input stream (must not be {@literal null})
         * @return the available size
         */
        public static int available(final InputStream is) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. src/bufio/net_test.go

    				return
    			}
    			if err != nil {
    				t.Error(err)
    				return
    			}
    		}
    	}()
    
    	clientConn, err := net.DialUnix("unixpacket", nil, addr)
    	if err != nil {
    		// Leaves the server goroutine hanging. Oh well.
    		t.Fatal(err)
    	}
    
    	defer wg.Wait()
    	defer clientConn.Close()
    
    	const data = "data"
    	r := bufio.NewReader(strings.NewReader(data))
    	n, err := io.Copy(clientConn, r)
    	if err != nil {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 07 19:37:07 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/Objects.java

       * Arrays#hashCode(Object[])}. Note that array arguments to this method, with the exception of a
       * single Object array, do not get any special handling; their hash codes are based on identity
       * and not contents.
       *
       * <p>This is useful for implementing {@link Object#hashCode()}. For example, in an object that
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 28 22:51:26 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/beans/ConstructorDesc.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.beans;
    
    import java.lang.reflect.Constructor;
    import java.util.Collection;
    import java.util.Map;
    
    /**
     * Interface for handling constructors.
     *
     * @author koichik
     */
    public interface ConstructorDesc {
    
        /**
         * Returns the {@link BeanDesc} of the class that owns this constructor.
         *
         * @return {@link BeanDesc}
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

         * @param newState new lease state
         */
        public void handleLeaseBreak(Smb2LeaseKey key, int newState) {
            LeaseEntry entry = leases.get(key);
            if (entry != null) {
                log.info("Handling lease break for {} from state 0x{} to 0x{}", key, Integer.toHexString(entry.getLeaseState()),
                        Integer.toHexString(newState));
    
                entry.setBreaking(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  6. tests/test_stream_cancellation.py

    """
    Test that async streaming endpoints can be cancelled without hanging.
    
    Ref: https://github.com/fastapi/fastapi/issues/14680
    """
    
    from collections.abc import AsyncIterable
    
    import anyio
    import pytest
    from fastapi import FastAPI
    from fastapi.responses import StreamingResponse
    
    pytestmark = [
        pytest.mark.anyio,
        pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning"),
    ]
    
    
    app = FastAPI()
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

            fileProtocols[fileProtocols.length - 1] = prefix;
        }
    
        /**
         * Checks if the given URL is a file path protocol that requires directory and permission handling.
         * Used for incremental crawling directory detection and file permission processing.
         *
         * @param url the URL to check
         * @return true if the URL uses a file path protocol (smb, smb1, file, ftp, s3, gcs)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 13:59:25 GMT 2026
    - 12.4K bytes
    - Click Count (1)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            try {
                final List<DiskFileItem> items = parseRequest(request, upload);
                mappingParameter(request, items);
            } catch (final FileUploadByteCountLimitException e) { // special handling
                handleSizeLimitExceededException(request, e);
            } catch (final FileUploadException e) { // contains fileCount exceeded
                handleFileUploadException(e);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:48:41 GMT 2026
    - 18.9K bytes
    - Click Count (1)
  9. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.Configuration;
    import jcifs.SmbConstants;
    import jcifs.config.BaseConfiguration;
    
    /**
     * Tests for SMB1 transaction response handling
     */
    public class TestSmbComTransactionResponseReader {
    
        /**
         * Default configuration used for Unicode support tests
         */
        private Configuration cfg;
    
        @BeforeEach
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/CommonServerMessageBlock.java

    package jcifs.internal;
    
    import jcifs.util.transport.Message;
    
    /**
     * Common interface for all SMB message blocks in the jCIFS protocol implementation.
     * Provides core functionality for encoding/decoding SMB messages, handling message signing,
     * and managing message metadata such as IDs, commands, and authentication information.
     *
     * @author mbechler
     */
    public interface CommonServerMessageBlock extends Message {
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top