Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 5,083 for Returns (1.31 sec)

  1. src/bufio/scan_test.go

    	}
    }
    
    // largeReader returns an invalid count that is larger than the number
    // of bytes requested.
    type largeReader struct{}
    
    func (largeReader) Read(p []byte) (int, error) {
    	return len(p) + 1, nil
    }
    
    // Test that the scanner doesn't panic and returns ErrBadReadCount
    // on a reader that returns an impossibly large count of bytes read (issue 38053).
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

            // When & Then
            assertTrue(negotiationRequest.isSigningEnforced(), "First call should return true");
            assertFalse(negotiationRequest.isSigningEnforced(), "Second call should return false");
            assertTrue(negotiationRequest.isSigningEnforced(), "Third call should return true");
    
            verify(negotiationRequest, times(3)).isSigningEnforced();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

        /**
         * Returns the {@link PropertyDesc} for the specified property name.
         *
         * @param propertyName
         *            the property name
         * @return the {@link PropertyDesc}, or {@literal null} if the property does not exist
         */
        protected PropertyDesc getPropertyDescNoException(final String propertyName) {
            return propertyDescCache.get(propertyName);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/eventbus/DeadEvent.java

        this.event = checkNotNull(event);
      }
    
      /**
       * Returns the object that originated this event (not the object that originated the
       * wrapped event). This is generally an {@link EventBus}.
       *
       * @return the source of this event.
       */
      public Object getSource() {
        return source;
      }
    
      /**
       * Returns the wrapped, 'dead' event, which the system was unable to deliver to any registered
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/xml/DocumentBuilderFactoryUtil.java

         */
        protected DocumentBuilderFactoryUtil() {
        }
    
        /**
         * Returns a new instance of {@link DocumentBuilderFactory}.
         *
         * @return A new instance of {@link DocumentBuilderFactory}.
         */
        public static DocumentBuilderFactory newInstance() {
            return newInstance(false);
        }
    
        /**
         * Returns a new instance of {@link DocumentBuilderFactory}.
         *
         * @param external
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. src/bytes/reader.go

    	i        int64 // current reading index
    	prevRune int   // index of previous rune; or < 0
    }
    
    // Len returns the number of bytes of the unread portion of the
    // slice.
    func (r *Reader) Len() int {
    	if r.i >= int64(len(r.s)) {
    		return 0
    	}
    	return int(int64(len(r.s)) - r.i)
    }
    
    // Size returns the original length of the underlying byte slice.
    // Size is the number of bytes available for reading via [Reader.ReadAt].
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jul 16 18:17:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

        }
    
        /**
         * Returns the <code>SQL</code>.
         *
         * @param cause the underlying exception
         * @return the <code>SQL</code>
         */
        protected static String getSql(final SQLException cause) {
            if (cause instanceof ClSQLException) {
                return ((ClSQLException) cause).getSql();
            }
            return "";
        }
    
        /**
         * Returns the real message.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            return new SmbPipeInputStream(handle, tree);
        }
    
        private SmbPipeInputStream newStreamWithMinimalStubs(boolean smb2) throws CIFSException {
            when(handle.getPipe()).thenReturn(pipe);
            when(tree.isSMB2()).thenReturn(smb2);
            return new SmbPipeInputStream(handle, tree);
        }
    
        @Test
        @DisplayName("available() on SMB2 returns peeked byte count and interacts with tree")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            System.arraycopy(dst, dstIndex, copiedData, 0, partialLength);
            assertArrayEquals(expectedData, copiedData);
        }
    
        @Test
        @DisplayName("Test writeParametersWireFormat returns 0")
        void testWriteParametersWireFormat() {
            // Arrange
            TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, TEST_DATA, TEST_OFFSET, TEST_LENGTH);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

                    map.put(name, v);
                }
            }
            return map;
        }
    
        /**
         * Returns the value of an annotation element.
         *
         * @param beanDesc the {@link BeanDesc} representing the annotation
         * @param annotation the annotation
         * @param name the name of the element
         * @return the value of the annotation element
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top