Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,790 for dong (0.34 sec)

  1. src/main/java/jcifs/smb1/smb1/TestLocking.java

                threads[ti].start();
            }
    
            while (t.numComplete < t.numThreads) {
                long delay;
    
                do {
                    delay = 2L;
    
                    synchronized (t) {
                        final long expire = t.ltime + t.delay;
                        final long ctime = System.currentTimeMillis();
    
                        if (expire > ctime) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    @NullUnmarked
    public class CharStreamsCopyBenchmark {
      enum CopyStrategy {
        OLD {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            CharBuffer buf = CharStreams.createBuffer();
            long total = 0;
            while (from.read(buf) != -1) {
              ((Buffer) buf).flip();
              to.append(buf);
              total += buf.remaining();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/transport/TransportTest.java

         */
        static class TestableTransport extends Transport {
            private long nextKey = 1;
            private Long peekedKey = null;
            private IOException sendException = null;
            private IOException recvException = null;
            private boolean connectFails = false;
            private boolean disconnectResult = false;
    
            @Override
            protected long makeKey(Request request) throws IOException {
                return nextKey++;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/transport/Transport.java

         * @return the key associated with the request
         * @throws IOException if an I/O error occurs
         */
        protected <T extends Response> long doSend(final Request request, final T response, final Set<RequestParam> params, final long timeout)
                throws IOException {
            final long firstKey = prepareRequests(request, response, params, timeout);
            doSend(request);
            return firstKey;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java

        @Override
        public final long getLastAccessTime() {
            return this.lastAccessTime;
        }
    
        /**
         * @return the lastWriteTime
         */
        @Override
        public final long getLastWriteTime() {
            return this.lastWriteTime;
        }
    
        /**
         * Gets the allocation size.
         *
         * @return the allocationSize
         */
        public final long getAllocationSize() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/InfoTest.java

            byte[] buffer = new byte[34];
            long create = 1600000000000L;
            long lastAccess = 1600000100000L;
            long lastWrite = 1600000200000L;
            long change = 1600000300000L;
            int attributes = 0x1234;
            // Convert Unix time to Windows FILETIME (100-nanosecond intervals since 1601)
            long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. cmd/shared-lock.go

    	ctx, cancel := context.WithCancel(context.Background())
    	go func() {
    		select {
    		case <-ctx1.Done():
    		case <-ctx2.Done():
    		// The lock acquirer decides to cancel, exit this goroutine
    		case <-ctx.Done():
    		}
    
    		cancel()
    	}()
    	return ctx, cancel
    }
    
    func (ld sharedLock) GetLock(ctx context.Context) (context.Context, context.CancelFunc) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Feb 13 09:26:38 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. docs/distributed/distributed-from-config-file.sh

         - 'http://localhost:9004/tmp/xl/node9004/mnt/disk2/'
         - 'http://localhost:9004/tmp/xl/node9004/mnt/disk3/'
         - 'http://localhost:9004/tmp/xl/node9004/mnt/disk4/'
    EOF
    done
    
    minio server --config /tmp/minio.configfile.1 >/tmp/minio1_1.log 2>&1 &
    site1_pid=$!
    minio server --config /tmp/minio.configfile.2 >/tmp/minio2_1.log 2>&1 &
    site2_pid=$!
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jun 28 09:06:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

        val closed = AtomicBoolean()
        val body: ResponseBody =
          object : ResponseBody() {
            override fun contentType(): MediaType? = null
    
            override fun contentLength(): Long = 5
    
            override fun source(): BufferedSource {
              val source = Buffer().writeUtf8("hello")
              return object : ForwardingSource(source) {
                @Throws(IOException::class)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. docs/features/events.md

        @Override public EventListener create(Call call) {
          long callId = nextCallId.getAndIncrement();
          System.out.printf("%04d %s%n", callId, call.request().url());
          return new PrintingEventListener(callId, System.nanoTime());
        }
      };
    
      final long callId;
      final long callStartNanos;
    
      public PrintingEventListener(long callId, long callStartNanos) {
        this.callId = callId;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
Back to top