Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 875 for zeroed (0.04 sec)

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

            assertTrue(file.isFile(), "Should be identified as a file");
            assertFalse(file.isDirectory(), "Should not be identified as a directory");
            assertEquals(0, file.length(), "New file should have zero length");
        }
    
        @Test
        void testFileWriteAndRead() throws Exception {
            SmbFile file = new SmbFile(baseUrl + "shared/content.txt", context);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

       * `HttpURLConnection` who flushes more bytes to the output stream than the connection's write
       * window will block.
       *
       * Zero [byteCount] writes are not subject to flow control and will not block. The only use case
       * for zero [byteCount] is closing a flushed output stream.
       */
      @Throws(IOException::class)
      fun writeData(
        streamId: Int,
        outFinished: Boolean,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            assertNotNull(result);
            assertTrue(result instanceof MatchAllQueryBuilder);
        }
    
        public void test_execute_withZeroBoost() {
            // Test execute method with zero boost
            QueryContext context = new QueryContext("*:*", false);
            MatchAllDocsQuery query = new MatchAllDocsQuery();
            float boost = 0.0f;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  4. docs/debugging/inspect/export.go

    // and perform a callback for each version in order, newest first.
    // Any non-nil error is returned.
    func decodeVersions(buf []byte, versions int, fn func(idx int, hdr, meta []byte) error) (e error) {
    	var tHdr, tMeta []byte // Zero copy bytes
    	for i := 0; i < versions; i++ {
    		tHdr, buf, e = msgp.ReadBytesZC(buf)
    		if e != nil {
    			return e
    		}
    		tMeta, buf, e = msgp.ReadBytesZC(buf)
    		if e != nil {
    			return e
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 17 19:38:44 UTC 2025
    - 9.1K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * @param b the second unsigned {@code long} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
      @SuppressWarnings("InlineMeInliner") // Integer.compare unavailable under GWT+J2CL
      public static int compare(long a, long b) {
        return Longs.compare(flip(a), flip(b));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        TestSuite suite = new TestSuite();
        for (ListTestSuiteBuilder<Long> builder : builders) {
          suite.addTest(
              builder
                  .withFeatures(
                      CollectionSize.ZERO,
                      CollectionSize.ONE,
                      CollectionSize.SEVERAL,
                      CollectionFeature.ALLOWS_NULL_QUERIES,
                      CollectionFeature.RESTRICTS_ELEMENTS,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                        "Should throw exception when buffer is too small");
            }
    
            @Test
            @DisplayName("Should handle zero-length name")
            void testZeroLengthName() {
                TestCreateContextRequest emptyNameRequest = new TestCreateContextRequest(new byte[0]);
    
                assertNotNull(emptyNameRequest.getName());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

            } else if (usage < 0) {
                throw new RuntimeCIFSException("Usage count dropped below zero");
            }
        }
    
        /**
         * Emergency cleanup method called during finalization to prevent memory leaks
         */
        private void emergencyCleanup() {
            try {
                // Force usage count to zero to trigger cleanup
                this.usageCount.set(0);
    
                synchronized (this) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SIDCacheImplTest.java

            assertEquals("DOM", s3.getDomainName());
            assertEquals("userX", s3.getAccountName());
        }
    
        @Test
        @DisplayName("resolveSids(CIFSContext,server,sids,offset,length) with zero length does not resolve")
        void resolveSids_zeroLength_doesNothing() throws Exception {
            CIFSContext ctx = mock(CIFSContext.class);
            SIDCacheImpl cache = Mockito.spy(new SIDCacheImpl(ctx));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/AllocInfoTest.java

                // When & Then
                assertEquals(capacity, allocInfo.getCapacity());
                assertEquals(free, allocInfo.getFree());
            }
    
            @Test
            @DisplayName("Should handle zero values")
            void shouldHandleZeroValues() {
                // Given
                TestAllocInfo allocInfo = new TestAllocInfo(0L, 0L);
    
                // When & Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top