Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 845 for CLOSE (0.03 sec)

  1. src/test/java/jcifs/tests/ConcurrencyTest.java

                    }
                    log.error("Unexpected error", e);
                }
                finally {
                    try {
                        this.file.close();
                    }
                    catch ( Exception e ) {
                        log.error("Failed to close");
                    }
                }
            }
        }
    
    
        @Test
        public void testMultiThread () throws InterruptedException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:40:50 UTC 2021
    - 17.6K bytes
    - Viewed (0)
  2. src/archive/tar/reader_test.go

    		}},
    	}}
    
    	for _, v := range vectors {
    		t.Run(path.Base(v.file), func(t *testing.T) {
    			f, err := os.Open(v.file)
    			if err != nil {
    				t.Fatalf("unexpected error: %v", err)
    			}
    			defer f.Close()
    
    			var fr io.Reader = f
    			if strings.HasSuffix(v.file, ".bz2") {
    				fr = bzip2.NewReader(fr)
    			}
    
    			// Capture all headers and checksums.
    			var (
    				tr      = NewReader(fr)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

            this.maxCount = this.minCount = maxCount;
        }
    
    
        @Override
        protected int getBatchLimit ( Configuration cfg, byte cmd ) {
            return cmd == SMB_COM_CLOSE ? cfg.getBatchLimit("ReadAndX.Close") : 0;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  4. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

        var dispatcher: Dispatcher = mockWebServer.dispatcher
        dispatcher = mockWebServer.dispatcher
        mockWebServer.dispatcher = QueueDispatcher()
        mockWebServer.dispatcher = QueueDispatcher()
        mockWebServer.close()
      }
    
      @Test @Ignore
      fun pushPromise() {
        val pushPromise: PushPromise = PushPromise("", "", headersOf(), MockResponse())
        val method: String = pushPromise.method
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        // Test that listeners added both before and after the value is available
        // get called correctly.
        for (int i = 0; i < 20; i++) {
    
          // Right in the middle start up a thread to close the latch.
          if (i == 10) {
            new Thread(() -> latch.countDown()).start();
          }
    
          future.addListener(listenerLatch::countDown, exec);
        }
    
        assertSame(Boolean.TRUE, future.get());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 18:30:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbTransportPool.java

    
        /**
         * Closes the pool and all connections in it
         * 
         * @return whether any transport was still in use
         * 
         * @throws CIFSException
         * 
         */
        boolean close () throws CIFSException;
    
    
        /**
         * Authenticate arbitrary credentials represented by the
         * <tt>NtlmPasswordAuthentication</tt> object against the domain controller
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 09:02:44 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  7. cmd/callhome.go

    		return nil
    	}
    
    	if e := enc.Encode(healthInfo); e != nil {
    		internalLogIf(ctx, fmt.Errorf("Could not encode health info: %w", e))
    		return nil
    	}
    
    	gzWriter.Flush()
    	gzWriter.Close()
    
    	return b.Bytes()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 17 16:53:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. internal/http/dial_linux.go

    				_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPINTVL, 15)
    			}
    
    			// Set tcp user timeout in addition to the keep-alive - tcp-keepalive is not enough to close a socket
    			// with dead end because tcp-keepalive is not fired when there is data in the socket buffer.
    			//    https://blog.cloudflare.com/when-tcp-sockets-refuse-to-die/
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 23 10:53:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/settings/ArraySettingsTest.java

                    .pluginTypes("org.codelibs.opensearch.extension.ExtensionPlugin"));
            runner.ensureYellow();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            try {
                runner.admin().indices().prepareDelete("_all").execute().actionGet();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/InterceptorTest.kt

        client =
          client.newBuilder()
            .addInterceptor(
              Interceptor { chain: Interceptor.Chain ->
                val response1 = chain.proceed(chain.request())
                response1.body.close()
                chain.proceed(chain.request())
              },
            )
            .build()
        val request =
          Request.Builder()
            .url(server.url("/"))
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top