Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 732 for short (0.06 sec)

  1. src/bufio/bufio.go

    // being valid at the next read call. If necessary, Peek will read more bytes
    // into the buffer in order to make n bytes available. If Peek returns fewer
    // than n bytes, it also returns an error explaining why the read is short.
    // The error is [ErrBufferFull] if n is larger than b's buffer size.
    //
    // Calling Peek prevents a [Reader.UnreadByte] or [Reader.UnreadRune] call from succeeding
    // until the next read operation.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

      }
    
    /**
     * Returns true if new reads and writes should be attempted on this.
     *
     * Unfortunately Java's networking APIs don't offer a good health check, so we go on our own by
     * attempting to read with a short timeout. If the fails immediately we know the socket is
     * unhealthy.
     *
     * @param source the source used to read bytes from the socket.
     */
    internal fun Socket.isHealthy(source: BufferedSource): Boolean =
      try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

    /**
     * Test class for Smb2TreeDisconnectRequest functionality
     */
    @DisplayName("Smb2TreeDisconnectRequest Tests")
    @ExtendWith(MockitoExtension.class)
    class Smb2TreeDisconnectRequestTest {
    
        private static final short SMB2_TREE_DISCONNECT = 0x0004;
    
        @Test
        @DisplayName("Should create request with correct command type")
        void testConstructorSetsCorrectCommand() throws Exception {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

                    DirectoryCacheScope.IMMEDIATE_CHILDREN);
    
            DirectoryCacheEntry entry = directoryLeaseManager.getCacheEntry(directoryPath);
            assertNotNull(entry);
    
            // Set very short expiration time
            entry.setMaxAge(50); // 50ms
    
            // Update cache
            List<SmbFile> files = Arrays.asList(mockFile1);
            directoryLeaseManager.updateDirectoryCache(directoryPath, files);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            assertEquals(2, countField.get(lookupSids));
    
            Field levelField = lsarpc.LsarLookupSids.class.getDeclaredField("level");
            levelField.setAccessible(true);
            assertEquals((short) 1, levelField.get(lookupSids));
        }
    
        @Test
        void constructor_shouldCreateCorrectLsarSidArrayX() throws Exception {
            // Arrange
            jcifs.SID mockSid1 = mock(jcifs.SID.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

            SameDoubleInstance that = (SameDoubleInstance) obj;
            return i == that.i;
          }
          return false;
        }
      }
    
      static class SameShortInstance {
        private final Short i;
    
        public SameShortInstance(Short i) {
          this.i = checkNotNull(i);
        }
    
        @Override
        public int hashCode() {
          return i.hashCode();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  7. docs/bucket/versioning/README.md

    are computationally difficult to guess. They are globally unique identifiers which can be locally generated without contacting a global registration authority. UUIDs are intended as unique identifiers for both mass tagging objects with an extremely short lifetime and to reliably identifying very persistent objects across a network.
    
    When you PUT an object in a versioning-enabled bucket, the noncurrent version is not overwritten. The following figure shows that when a new version of `spark.csv`...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            try (ZipOutputStream zos = new ZipOutputStream(Files.newOutputStream(zipPath))) {
                // Add entries with insufficient path components (should be skipped)
                ZipEntry shortEntry = new ZipEntry("short");
                zos.putNextEntry(shortEntry);
                zos.write("content".getBytes());
                zos.closeEntry();
    
                // Add valid entry
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/path-params.md

    In that case, the URL would be: `/files//home/johndoe/myfile.txt`, with a double slash (`//`) between `files` and `home`.
    
    ///
    
    ## Recap { #recap }
    
    With **FastAPI**, by using short, intuitive and standard Python type declarations, you get:
    
    * Editor support: error checks, autocompletion, etc.
    * Data "<abbr title="converting the string that comes from an HTTP request into Python data">parsing</abbr>"
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/misc/AssertionUtil.java

         * @throws EmptyArgumentException
         *             If the argument is <code>null</code> or an empty array.
         */
        public static void assertArgumentNotEmpty(final String argName, final short[] argValue) {
            if (ArrayUtil.isEmpty(argValue)) {
                throw new EmptyArgumentException(argName, "ECL0011", asArray(argName));
            }
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top