Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3321 - 3330 of 3,633 for NULL (0.04 sec)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

            closeQuietly(entry.getKey(), entry.getValue());
          }
          clear();
          if (whenClosed != null) {
            whenClosed.countDown();
          }
        }
    
        void add(@CheckForNull AutoCloseable closeable, Executor executor) {
          checkNotNull(executor);
          if (closeable == null) {
            return;
          }
          synchronized (this) {
            if (!closed) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

        private static final String CHECK_SELECTED_VERSION = "check selected version";
    
        @Test
        void testRange() throws InvalidVersionSpecificationException, OverConstrainedVersionException {
            Artifact artifact = null;
    
            VersionRange range = VersionRange.createFromVersionSpec("(,1.0]");
            List<Restriction> restrictions = range.getRestrictions();
            assertEquals(1, restrictions.size(), CHECK_NUM_RESTRICTIONS);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt

        val result = mutableListOf<HeldCertificate>()
        for (i in 1..length) {
          result.add(
            0,
            HeldCertificate.Builder()
              .signedBy(if (result.isNotEmpty()) result[0] else null)
              .certificateAuthority(length - i)
              .serialNumber(i.toLong())
              .build(),
          )
        }
        return result
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

       *     [Section 7.4 of RFC 6455](http://tools.ietf.org/html/rfc6455#section-7.4).
       * @param reason Reason for shutting down, no longer than 123 bytes of UTF-8 encoded data (**not** characters) or null.
       * @throws IllegalArgumentException if [code] is invalid or [reason] is too long.
       */
      fun close(
        code: Int,
        reason: String?,
      ): Boolean
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. build.gradle.kts

      }
    
      if (platform == "jdk8alpn") {
        // Add alpn-boot on Java 8 so we can use HTTP/2 without a stable API.
        val alpnBootVersion = alpnBootVersion()
        if (alpnBootVersion != null) {
          val alpnBootJar = configurations.detachedConfiguration(
            dependencies.create("org.mortbay.jetty.alpn:alpn-boot:$alpnBootVersion")
          ).singleFile
          tasks.withType<Test> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jun 23 17:02:02 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/ImmutableGraph.java

        }
    
        /**
         * Adds {@code node} if it is not already present.
         *
         * <p><b>Nodes must be unique</b>, just as {@code Map} keys must be. They must also be non-null.
         *
         * @return this {@code Builder} object
         */
        @CanIgnoreReturnValue
        public Builder<N> addNode(N node) {
          mutableGraph.addNode(node);
          return this;
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

                return false;
            }
    
            UpgradedProperty method = currentMethods.get(AccessorKey.ofNewMethod(jApiMethod));
            if (method != null) {
                String propertyName = method.getPropertyName();
                String isGetterName = "is" + Character.toUpperCase(propertyName.charAt(0)) + propertyName.substring(1);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. src/archive/tar/writer_test.go

    		},
    	}, {
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     "bad-null.txt",
    				Xattrs:   map[string]string{"null\x00null\x00": "fizzbuzz"},
    			}, headerError{}},
    		},
    	}, {
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     "null\x00.txt",
    			}, headerError{}},
    		},
    	}, {
    		file: "testdata/pax-records.tar",
    		tests: []testFnc{
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Range.java

       * @since 14.0
       */
      public static <C extends Comparable<?>> Range<C> encloseAll(Iterable<C> values) {
        checkNotNull(values);
        if (values instanceof SortedSet) {
          SortedSet<C> set = (SortedSet<C>) values;
          Comparator<?> comparator = set.comparator();
          if (Ordering.<C>natural().equals(comparator) || comparator == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

                return new Object();
              }
            };
        LocalLoadingCache<Object, Object> cache = makeCache(createCacheBuilder(), loader);
        assertSame(loader, cache.localCache.defaultLoader);
      }
    
      // null parameters test
    
      public void testNullParameters() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        CacheLoader<Object, Object> loader = identityLoader();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top