Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 1,091 for closes (0.04 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      public void testOfNullKey() {
        assertThrows(NullPointerException.class, () -> ImmutableMap.of(null, 1));
    
        assertThrows(NullPointerException.class, () -> ImmutableMap.of("one", 1, null, 2));
      }
    
      public void testOfNullValue() {
        assertThrows(NullPointerException.class, () -> ImmutableMap.of("one", null));
    
        assertThrows(NullPointerException.class, () -> ImmutableMap.of("one", 1, "two", null));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `Tut, tut, child!' said the Duchess.  `Everything's got a
    moral, if only you can find it.'  And she squeezed herself up
    closer to Alice's side as she spoke.
    
      Alice did not much like keeping so close to her:  first,
    because the Duchess was VERY ugly; and secondly, because she was
    exactly the right height to rest her chin upon Alice's shoulder,
    and it was an uncomfortably sharp chin.  However, she did not
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                        result.setPrivateKey(authCtx.get(AuthenticationContext.PRIVATE_KEY_PATH));
                        result.setPassphrase(authCtx.get(AuthenticationContext.PRIVATE_KEY_PASSPHRASE));
                        authCtx.close();
                        return result;
                    }
                }
            }
            return null;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  4. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        val elapsedNanos = System.nanoTime() - startNanos
        val elapsedMillis = TimeUnit.NANOSECONDS.toMillis(elapsedNanos)
        assertThat(elapsedMillis).isGreaterThanOrEqualTo(1000L)
        inputStream.close()
      }
    
      @Test
      fun disconnectRequestHalfway() {
        server.enqueue(MockResponse().setSocketPolicy(SocketPolicy.DISCONNECT_DURING_REQUEST_BODY))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        val elapsedNanos = System.nanoTime() - startNanos
        val elapsedMillis = TimeUnit.NANOSECONDS.toMillis(elapsedNanos)
        assertThat(elapsedMillis).isGreaterThanOrEqualTo(1000L)
        inputStream.close()
      }
    
      @Test
      fun disconnectRequestHalfway() {
        server.enqueue(
          MockResponse.Builder()
            .socketPolicy(DisconnectDuringRequestBody)
            .build(),
        )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. cmd/update.go

    			reqInfo := (&logger.ReqInfo{}).AppendTags("helmInfoFilePath", helmInfoFilePath)
    			ctx := logger.SetReqInfo(GlobalContext, reqInfo)
    			internalLogIf(ctx, err)
    		}
    		return ""
    	}
    	defer helmInfoFile.Close()
    	scanner := bufio.NewScanner(helmInfoFile)
    	for scanner.Scan() {
    		if strings.Contains(scanner.Text(), "chart=") {
    			helmChartVersion := strings.TrimPrefix(scanner.Text(), "chart=")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/InterruptibleTask.java

      static {
        // Prevent rare disastrous classloading in first call to LockSupport.park.
        // See: https://bugs.openjdk.java.net/browse/JDK-8074773
        @SuppressWarnings("unused")
        Class<?> ensureLoaded = LockSupport.class;
      }
    
      private static final class DoNothingRunnable implements Runnable {
        @Override
        public void run() {}
      }
      // The thread executing the task publishes itself to the superclass' reference and the thread
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. internal/dsync/dsync-server_test.go

    	if err == nil && !reply {
    		err = errLockConflict
    	}
    	if err != nil {
    		lh.writeErrorResponse(w, err)
    		return
    	}
    }
    
    func stopLockServers() {
    	for i := 0; i < numberOfNodes; i++ {
    		nodes[i].Close()
    	}
    }
    
    func startLockServers() {
    	for i := 0; i < numberOfNodes; i++ {
    		lsrv := &lockServer{
    			mutex:   sync.Mutex{},
    			lockMap: make(map[string]int64),
    		}
    		lockServer := lockServerHandler{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 23 16:46:37 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

       * This means that if you are doing synchronous calls the network layer will not truly be idle
       * until every returned [Response] has been closed.
       */
      var idleCallback: Runnable? = null
        get() = this.withLock { field }
        set(value) {
          this.withLock { field = value }
        }
    
      private var executorServiceOrNull: ExecutorService? = null
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jun 20 14:10:53 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. cmd/object-handlers.go

    				Start:          offset,
    				End:            -1,
    			}
    			opts.NoLock = true
    			return getObjectNInfo(ctx, bucket, object, rs, r.Header, opts)
    		},
    		actualSize,
    	)
    	defer objectRSC.Close()
    	s3Select, err := s3select.NewS3Select(r.Body)
    	if err != nil {
    		if serr, ok := err.(s3select.SelectError); ok {
    			encodedErrorResponse := encodeResponse(APIErrorResponse{
    				Code:       serr.ErrorCode(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top