Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1681 - 1690 of 4,663 for returned (0.09 sec)

  1. guava-tests/test/com/google/common/io/RandomAmountInputStream.java

    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Returns a random portion of the requested bytes on each call. */
    @NullUnmarked
    class RandomAmountInputStream extends FilterInputStream {
      private final Random random;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        out.write(data);
        assertTrue(Arrays.equals(data, source.read()));
    
        out.close();
      }
    
      private static boolean isAndroid() {
        return System.getProperty("java.runtime.name", "").contains("Android");
      }
    
      private static boolean isWindows() {
        return OS_NAME.value().startsWith("Windows");
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DosErrorTest.java

        // Returns -1 if the DOS code is not mapped.
        private static int findNtStatusOrMinusOne(int dosCode) {
            for (int[] pair : DosError.DOS_ERROR_CODES) {
                // each pair is [dosCode, ntStatus]
                if (pair != null && pair.length == 2 && pair[0] == dosCode) {
                    return pair[1];
                }
            }
            return -1;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt

            }
    
            override fun read(
              sink: Buffer,
              byteCount: Long,
            ): Long {
              check(!closed)
              return data.read(sink, byteCount)
            }
    
            override fun timeout(): Timeout = Timeout.NONE
          }
        return source.buffer().asResponseBody(null, -1)
      }
    
      private fun newResponse(
        responseBody: ResponseBody,
        code: Int = 200,
      ): Response =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

        /**
         * Gets the chained AndX command
         * @return the andx
         */
        public final ServerMessageBlock getAndx() {
            return this.andx;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#getNext()
         */
        @Override
        public ServerMessageBlock getNext() {
            return this.andx;
        }
    
        /**
         * {@inheritDoc}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

         * <p>If multiple configurations exist with the same name, returns the first one
         * ordered by sort order ascending.</p>
         *
         * @param name the name of the data configuration to retrieve
         * @return an OptionalEntity containing the DataConfig if found, empty otherwise
         * @throws IllegalArgumentException if name is null or empty
         */
        public OptionalEntity<DataConfig> getDataConfigByName(final String name) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                        }
                        return result;
                    default:
                        return 0;
                }
            }
    
            public StringItem getStringPart() {
                return stringPart;
            }
    
            public Item getDigitPart() {
                return digitPart;
            }
    
            @Override
            public int getType() {
                return COMBINATION_ITEM;
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

        }
    
        @Test
        @DisplayName("Test readSetupWireFormat returns 0")
        void testReadSetupWireFormat() {
            trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo);
    
            byte[] buffer = new byte[256];
            int read = trans2SetFileInfo.readSetupWireFormat(buffer, 0, buffer.length);
    
            // Should always return 0
            assertEquals(0, read);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/HashingOutputStream.java

        hasher.putBytes(bytes, off, len);
        out.write(bytes, off, len);
      }
    
      /**
       * Returns the {@link HashCode} based on the data written to this stream. The result is
       * unspecified if this method is called more than once on the same instance.
       */
      public HashCode hash() {
        return hasher.hash();
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/index/contents/document/DocumentReader.java

     * should also handle resource cleanup when the {@link #close()} method is called.</p>
     */
    public interface DocumentReader extends Closeable {
        /**
         * Reads a document and returns its contents as a map.
         *
         * @return a map containing the document's data, or null if there are no more documents to read.
         */
        Map<String, Object> read();
    
        @Override
        void close();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top