Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 3,556 for rint (0.02 sec)

  1. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

            byte[] dst = new byte[10];
            int result = netServerEnum2.writeSetupWireFormat(dst, 0);
            assertEquals(0, result);
        }
    
        /**
         * Test the writeParametersWireFormat method for NET_SERVER_ENUM2.
         */
        @Test
        void testWriteParametersWireFormat_Enum2() throws UnsupportedEncodingException {
            byte[] dst = new byte[100];
            int bytesWritten = netServerEnum2.writeParametersWireFormat(dst, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. docs_src/sql_databases/tutorial001_an_py310.py

        return hero
    
    
    @app.get("/heroes/")
    def read_heroes(
        session: SessionDep,
        offset: int = 0,
        limit: Annotated[int, Query(le=100)] = 100,
    ) -> list[Hero]:
        heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()
        return heroes
    
    
    @app.get("/heroes/{hero_id}")
    def read_hero(hero_id: int, session: SessionDep) -> Hero:
        hero = session.get(Hero, hero_id)
        if not hero:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java

        assertThrows(IllegalArgumentException.class, () -> MathPreconditions.checkPositive("int", 0));
      }
    
      public void testCheckPositive_maxInt() {
        MathPreconditions.checkPositive("int", Integer.MAX_VALUE);
      }
    
      public void testCheckPositive_minInt() {
        assertThrows(
            IllegalArgumentException.class,
            () -> MathPreconditions.checkPositive("int", Integer.MIN_VALUE));
      }
    
      public void testCheckPositive_positiveInt() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

    @GwtCompatible
    abstract class AbstractIndexedListIterator<E extends @Nullable Object>
        extends UnmodifiableListIterator<E> {
      private final int size;
      private int position;
    
      /** Returns the element with the specified index. This method is called by {@link #next()}. */
      @ParametricNullness
      protected abstract E get(int index);
    
      /**
       * Constructs an iterator across a sequence of the given size whose initial position is 0. That
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsParseException.java

    public class ToolchainsParseException extends IOException {
    
        /**
         * The one-based index of the line containing the error.
         */
        private final int lineNumber;
    
        /**
         * The one-based index of the column containing the error.
         */
        private final int columnNumber;
    
        /**
         * Creates a new parser exception with the specified details.
         *
         * @param message The error message, may be {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ArrayTable.java

          return keyIndex.keySet();
        }
    
        K getKey(int index) {
          return keyIndex.keySet().asList().get(index);
        }
    
        abstract String getKeyRole();
    
        @ParametricNullness
        abstract V getValue(int index);
    
        @ParametricNullness
        abstract V setValue(int index, @ParametricNullness V newValue);
    
        @Override
        public int size() {
          return keyIndex.size();
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            FileEndOfFileInformation spy = Mockito.spy(realObject);
    
            // Call methods
            byte level = spy.getFileInformationLevel();
            int size = spy.size();
            byte[] buffer = new byte[8];
            int encoded = spy.encode(buffer, 0);
            int decoded = spy.decode(buffer, 0, 8);
            String str = spy.toString();
    
            // Verify all methods were called except toString (Mockito limitation)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

        private static byte[] buildIoctlResponseBody(int ctlCode, byte[] fileId, int inputCount, byte[] inputBytes, int outputCount,
                byte[] outputBytes, int ioctlFlags) {
            final int headerLen = 64; // SMB2 header is 64 bytes
            final int bodyFixed = 48; // body size minus 1 for structure size field overlap
            final int payloadStart = headerLen + bodyFixed;
            final int bodyLen = bodyFixed + inputCount + outputCount;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

         */
    
        @Override
        public int read(final byte[] b) throws IOException {
            return read(b, 0, b.length);
        }
    
        /**
         * Reads up to len bytes of data from this input stream into an array of bytes.
         *
         * @throws IOException if a network error occurs
         */
    
        @Override
        public int read(final byte[] b, final int off, final int len) throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/log/bsbhv/BsClickLogBhv.java

            doDelete(entity, null);
        }
    
        public int queryDelete(CBCall<ClickLogCB> cbLambda) {
            return doQueryDelete(createCB(cbLambda), null);
        }
    
        public int[] batchInsert(List<ClickLog> list) {
            return batchInsert(list, null, null);
        }
    
        public int[] batchInsert(List<ClickLog> list, RequestOptionCall<BulkRequestBuilder> call) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top