Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,011 for timeIt (0.06 sec)

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

        File file = out.getFile();
        assertEquals(100, file.length());
        assertTrue(file.exists());
        out.close();
    
        // Make sure that finalize deletes the file
        out = null;
    
        // times out and throws RuntimeException on failure
        GcFinalization.awaitDone(
            new GcFinalization.FinalizationPredicate() {
              @Override
              public boolean isDone() {
                return !file.exists();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.timer;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class TimeoutManagerTest extends TestCase {
    
        private int expiredCount;
    
        protected void setUp() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

                verify(mockBuffer, times(2)).enc_ndr_small(0); // minor version and ptype (both are 0)
                verify(mockBuffer).enc_ndr_small(DcerpcConstants.RPC_C_PF_BROADCAST); // flags
                verify(mockBuffer).enc_ndr_long(0x00000010); // Little-endian / ASCII / IEEE
                verify(mockBuffer).enc_ndr_short(message.length);
                verify(mockBuffer, times(1)).enc_ndr_short(0); // auth_value length
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TransWaitNamedPipe.java

    class TransWaitNamedPipe extends SmbComTransaction {
    
        TransWaitNamedPipe(final String pipeName) {
            name = pipeName;
            command = SMB_COM_TRANSACTION;
            subCommand = TRANS_WAIT_NAMED_PIPE;
            timeout = 0xFFFFFFFF;
            maxParameterCount = 0;
            maxDataCount = 0;
            maxSetupCount = (byte) 0x00;
            setupCount = 2;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. docs/tuning/tuned.conf

    net.ipv4.tcp_mtu_probing=1
    net.ipv4.tcp_base_mss=1280
    
    # Disable ipv6
    net.ipv6.conf.all.disable_ipv6=1
    net.ipv6.conf.default.disable_ipv6=1
    net.ipv6.conf.lo.disable_ipv6=1
    
    [bootloader]
    # Avoid firing timers for all CPUs at the same time. This is irrelevant for
    # full nohz systems
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 23:31:18 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

    import okio.BufferedSink
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Timeout
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ArgumentsSource
    
    @Timeout(30)
    @Tag("Slow")
    class CancelTest {
      @JvmField @RegisterExtension
      val platform = PlatformRule()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. cmd/common-main.go

    }
    
    func (a bgCtx) Done() <-chan struct{} {
    	return nil
    }
    
    func (a bgCtx) Err() error {
    	return nil
    }
    
    func (a bgCtx) Deadline() (deadline time.Time, ok bool) {
    	return time.Time{}, false
    }
    
    func (a bgCtx) Value(key any) any {
    	return a.parent.Value(key)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (3)
  8. src/test/java/jcifs/smb/RequestParamTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.junit.jupiter.api.Assertions.fail;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.verifyNoMoreInteractions;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. docs/smb3-features/01-smb3-lease-design.md

    ## 10. Error Handling
    
    ### 10.1 Lease Break Timeout
    ```java
    public void handleLeaseBreakWithTimeout(Smb2LeaseKey key, int newState) {
        CompletableFuture<Void> future = CompletableFuture.runAsync(() -> {
            handleLeaseBreak(key, newState);
        });
        
        try {
            future.get(5, TimeUnit.SECONDS);  // 5 second timeout
        } catch (TimeoutException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            // Prepare test data with zero values
            byte[] buffer = createValidBuffer("zerofile.txt", "ZEROFI~1.TXT", true);
    
            // Set zero values - for SMB times, 0 in wire format represents 0 in Java time
            SMBUtil.writeInt4(0, buffer, 0); // nextEntryOffset
            SMBUtil.writeInt4(0, buffer, 4); // fileIndex
            SMBUtil.writeInt8(0, buffer, 8); // creationTime - raw 0 in wire format
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top