Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1111 - 1120 of 2,310 for Contains (0.12 seconds)

  1. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        try {
          UnsignedInts.checkedCast(value);
          fail("Cast to int should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertThat(ex).hasMessageThat().contains(String.valueOf(value));
        }
      }
    
      public void testSaturatedCast() {
        for (long value : UNSIGNED_INTS) {
          assertThat(UnsignedInts.toLong(UnsignedInts.saturatedCast(value))).isEqualTo(value);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    import jcifs.util.Strings;
    import jcifs.util.transport.Response;
    
    /**
     * SMB1 Negotiate Protocol Response message.
     *
     * This response contains information about the server's capabilities,
     * security mode, and supported protocol version.
     */
    public class SmbComNegotiateResponse extends ServerMessageBlock implements SmbNegotiationResponse {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  3. cmd/server_test.go

    	objectName := "prefix/myobject"
    	delObjReq := DeleteObjectsRequest{
    		Quiet: false,
    	}
    	for i := range 10 {
    		// Obtain http request to upload object.
    		// object Name contains a prefix.
    		objName := fmt.Sprintf("%d/%s", i, objectName)
    		request, err = newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objName),
    			0, nil, s.accessKey, s.secretKey, s.signer)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

      private val eventRecorder = EventRecorder()
      private lateinit var client: OkHttpClient
      private lateinit var url: HttpUrl
    
      /**
       * This is mutable and order matters. By default, it contains [IPv4, IPv6]. Tests may manipulate
       * it to prefer IPv6.
       */
      private var dnsResults = listOf<InetAddress>()
    
      @BeforeEach
      internal fun setUp() {
        val inetAddresses = InetAddress.getAllByName("localhost")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        TimeoutException e =
            assertThrows(
                TimeoutException.class, () -> service.startAsync().awaitRunning(1, MILLISECONDS));
        assertThat(e).hasMessageThat().contains(Service.State.STARTING.toString());
      }
    
      private static final class TimeoutOnStartUp extends AbstractExecutionThreadService {
        @Override
        protected Executor executor() {
          return new Executor() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

                   * !GENERATE_CANCELLATION_CAUSES.
                   *
                   * TODO(cpovirk): Maybe it would be cleaner to define a CancellationSupplier interface
                   * with two implementations, one that contains causeless Cancellation instances and
                   * the other of which creates new Cancellation instances each time it's called? Yet
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Ordering.java

       *     order the comparator should induce
       * @return the comparator described above
       * @throws NullPointerException if any of the provided values is null
       * @throws IllegalArgumentException if {@code valuesInOrder} contains any duplicate values
       *     (according to {@link Object#equals})
       */
      // TODO(kevinb): provide replacement
      public static <T> Ordering<T> explicit(List<T> valuesInOrder) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        tearDownStack.runTearDown();
      }
    
      @Override
      public void runBare() throws Throwable {
        try {
          super.runBare();
        } catch (AssertionError e) {
          if (e.getMessage() != null && e.getMessage().contains("Dude, where's my interrupt?")) {
            // Rerun test to work around Marshamallow class-loading issue b/456222735.
            super.runBare();
            return;
          }
          throw e;
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        assume().that(graph.allowsSelfLoops()).isFalse();
    
        IllegalArgumentException e =
            assertThrows(IllegalArgumentException.class, () -> putEdge(N1, N1));
        assertThat(e).hasMessageThat().contains(ERROR_SELF_LOOP);
      }
    
      @Test
      public void putEdge_allowsSelfLoops() {
        assume().that(graphIsMutable()).isTrue();
        assume().that(graph.allowsSelfLoops()).isTrue();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 06 20:14:55 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                        Artifact artifact = new DefaultArtifact(expression.substring(2, expression.length() - 1));
                        VersionRange versionRange =
                                artifact.getVersion().contains(",") ? parseVersionRange(artifact.getVersion()) : null;
                        Predicate<Artifact> predicate = a -> {
                            if (artifact.getGroupId().equals(a.getGroupId())
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 19 13:42:58 GMT 2026
    - 25.8K bytes
    - Click Count (0)
Back to Top