Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 977 for close1 (0.04 sec)

  1. android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

            datasets[i][j] = rng.nextDouble();
          }
        }
      }
    
      private double[] dataset(int i) {
        // We must test on a fresh clone of the dataset each time. Doing sorts and quickselects on a
        // dataset which is already sorted or partially sorted is cheating.
        return datasets[i & 0xFF].clone();
      }
    
      @Benchmark
      double median(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

            datasets[i][j] = rng.nextDouble();
          }
        }
      }
    
      private double[] dataset(int i) {
        // We must test on a fresh clone of the dataset each time. Doing sorts and quickselects on a
        // dataset which is already sorted or partially sorted is cheating.
        return datasets[i & 0xFF].clone();
      }
    
      @Benchmark
      double median(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Callback.kt

      /**
       * Called when the HTTP response was successfully returned by the remote server. The callback may
       * proceed to read the response body with [Response.body]. The response is still live until its
       * response body is [closed][ResponseBody]. The recipient of the callback may consume the response
       * body on another thread.
       *
       * Note that transport-layer success (receiving a HTTP response code, headers and body) does not
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            try ( SmbFileHandleImpl fh = ensureOpen() ) {}
        }
    
    
        @Override
        public synchronized void close () throws SmbException {
            try {
                if ( this.handle != null ) {
                    try {
                        this.handle.close();
                    }
                    catch ( CIFSException e ) {
                        throw SmbException.wrap(e);
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java

            handle.sendrecv(rpc);
            if ( rpc.retval != 0 ) {
                throw new SmbException(rpc.retval, false);
            }
            this.opened = true;
        }
    
    
        @Override
        public synchronized void close () throws IOException {
            if ( this.opened ) {
                this.opened = false;
                MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this);
                this.handle.sendrecv(rpc);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

      // ClasLoader via its AccessControlContext. It does not seem to be possible to make a
      // URLClassLoader without capturing this reference, and it probably would not be desirable for
      // security reasons anyway. Therefore, the FRQ.close() method provides a way to stop the thread
      // explicitly. This test checks that calling that method does allow an app's ClassLoader to be
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt

      }
    
      @ExperimentalOkHttpApi
      companion object {
        /**
         * Enqueued on shutdown to release threads waiting on [dispatch]. Note that this response
         * isn't transmitted because the connection is closed before this response is returned.
         */
        private val DEAD_LETTER = MockResponse(code = HTTP_UNAVAILABLE)
    
        private val logger = Logger.getLogger(QueueDispatcher::class.java.name)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/WinError.java

            "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.",
            "The pipe state is invalid.", "All pipe instances are busy.", "The pipe is being closed.", "No process is on the other end of the pipe.",
            "More data is available.", "The service is not available", "The list of servers for this workgroup is not currently available.",
        };
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

            this.b = b;
            this.off = off;
            count = len;
            digest = null; /* otherwise recycled commands
                            * like writeandx will choke if session
                            * closes in between */
        }
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            writeInt2( fid, dst, dstIndex );
            dstIndex += 2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3K bytes
    - Viewed (0)
  10. internal/once/singleton.go

    		return true
    	default:
    		return false
    	}
    }
    
    // Set the value and unblock all Get requests.
    // This may only be called once, a second call will panic.
    func (s *Singleton[T]) Set(v *T) {
    	s.v = v
    	close(s.set)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 952 bytes
    - Viewed (0)
Back to top