Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 447 for handlePing (0.14 seconds)

  1. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            // Release the session (back to initial state)
            session.release();
            assertFalse(session.isInUse(), "Session should not be in use after release");
        }
    
        /**
         * Test exception handling during cleanup
         */
        @Test
        @Timeout(5)
        public void testExceptionHandling() throws Exception {
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/LineBufferTest.java

        List<String> lines = new ArrayList<>();
        LineBuffer lineBuf =
            new LineBuffer() {
              @Override
              protected void handleLine(String line, String end) {
                lines.add(line + end);
              }
            };
        char[] chars = input.toCharArray();
        int off = 0;
        while (off < chars.length) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/io/LineBufferTest.java

        List<String> lines = new ArrayList<>();
        LineBuffer lineBuf =
            new LineBuffer() {
              @Override
              protected void handleLine(String line, String end) {
                lines.add(line + end);
              }
            };
        char[] chars = input.toCharArray();
        int off = 0;
        while (off < chars.length) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  4. 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: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

    /**
     * Tests for SmbFilenameFilter interface behaviors via simple implementations.
     * Each test creates a concrete filter to validate expected contract semantics
     * including normal operation, null handling, edge cases, and exception flow.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbFilenameFilterTest {
    
        @Mock
        SmbFile mockDir;
    
        /**
         * Happy-path: a filter that accepts any name.
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  6. src/cmd/asm/internal/arch/loong64.go

    		return true
    	}
    	return false
    }
    
    // IsLoong64RDTIME reports whether the op (as defined by an loong64.A*
    // constant) is one of the RDTIMELW/RDTIMEHW/RDTIMED instructions that
    // require special handling.
    func IsLoong64RDTIME(op obj.As) bool {
    	switch op {
    	case loong64.ARDTIMELW, loong64.ARDTIMEHW, loong64.ARDTIMED:
    		return true
    	}
    	return false
    }
    
    func IsLoong64PRELD(op obj.As) bool {
    	switch op {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 05 17:31:25 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

                        || e.getMessage().contains("negotiate context"), "Validation detected issue: " + e.getMessage());
            }
        }
    
        /**
         * Test null buffer handling.
         */
        @Test
        public void testNullBuffer() {
            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> {
                response.readBytesWireFormat(null, 0);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/beans/FieldDesc.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.beans;
    
    import java.lang.reflect.Field;
    import java.util.Collection;
    import java.util.Map;
    
    /**
     * Interface for handling fields.
     *
     * @author koichik
     */
    public interface FieldDesc {
    
        /**
         * Returns the {@link BeanDesc} of the class that owns this field.
         *
         * @return {@link BeanDesc}
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/beans/PropertyDesc.java

     */
    package org.codelibs.core.beans;
    
    import java.lang.reflect.Field;
    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.Map;
    
    /**
     * Interface for handling properties.
     *
     * @author higa
     */
    public interface PropertyDesc {
    
        /**
         * Returns the property name.
         *
         * @return the property name
         */
        String getPropertyName();
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/AbstractBiMap.java

        }
    
        @Override
        public @Nullable Object[] toArray() {
          return standardToArray();
        }
    
        @Override
        @SuppressWarnings("nullness") // bug in our checker's handling of toArray signatures
        public <T extends @Nullable Object> T[] toArray(T[] array) {
          return standardToArray(array);
        }
    
        @Override
        public String toString() {
          return standardToString();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 14.3K bytes
    - Click Count (0)
Back to Top