Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3261 - 3270 of 3,989 for Null (0.04 sec)

  1. guava/src/com/google/common/net/MediaType.java

        // racy single-check idiom, this is safe because Optional is immutable.
        Optional<Charset> local = parsedCharset;
        if (local == null) {
          String value = null;
          local = Optional.absent();
          for (String currentValue : parameters.get(CHARSET_ATTRIBUTE)) {
            if (value == null) {
              value = currentValue;
              local = Optional.of(Charset.forName(value));
            } else if (!value.equals(currentValue)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

            this.txn_buf = buffer;
        }
    
    
        /**
         * @return the txn_buf
         */
        public byte[] releaseBuffer () {
            byte[] buf = this.txn_buf;
            this.txn_buf = null;
            return buf;
        }
    
    
        /**
         * @return the subCommand
         */
        public final byte getSubCommand () {
            return this.subCommand;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 9.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      @Override
      public void clear() {
        delegate.clear();
      }
    
      @Override
      public Comparator<? super E> comparator() {
        Comparator<? super E> comparator = delegate.comparator();
        if (comparator == null) {
          comparator = (Comparator<? super E>) NATURAL_ORDER;
        }
        return comparator;
      }
    
      @Override
      public boolean contains(Object object) {
        return delegate.contains(checkValid(object));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/SuccessorsFunction.java

       * algorithms should document their behavior in the presence of duplicates.
       *
       * <p>The elements of the returned {@code Iterable} must each be:
       *
       * <ul>
       *   <li>Non-null
       *   <li>Usable as {@code Map} keys (see the Guava User Guide's section on <a
       *       href="https://github.com/google/guava/wiki/GraphsExplained#graph-elements-nodes-and-edges">
       *       graph elements</a> for details)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  5. docs/bucket/replication/setup_ilm_expiry_replication.sh

    	exit 1
    fi
    
    ## Make sure transition rule not replicated to siteb
    tranDays=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Transition.Days')
    if [ "${tranDays}" != "null" ]; then
    	echo "BUG: Transition rules as well copied to siteb"
    	exit 1
    fi
    
    ## Check replication of rules prefix and tags
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/net/MediaTypeTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testConstants_charset() throws Exception {
        for (Field field : getConstantFields()) {
          Optional<Charset> charset = ((MediaType) field.get(null)).charset();
          if (field.getName().endsWith("_UTF_8")) {
            assertThat(charset).hasValue(UTF_8);
          } else {
            assertThat(charset).isAbsent();
          }
        }
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/reflect/Invokable.java

          Class<?> declaringClass = constructor.getDeclaringClass();
          if (declaringClass.getEnclosingConstructor() != null) {
            // Enclosed in a constructor, needs hidden this
            return true;
          }
          Method enclosingMethod = declaringClass.getEnclosingMethod();
          if (enclosingMethod != null) {
            // Enclosed in a method, if it's not static, must need hidden this.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/RangeTest.java

      }
    
      public void testEncloseAll_nullValue() {
        List<@Nullable Integer> nullFirst = Lists.newArrayList(null, 0);
        assertThrows(NullPointerException.class, () -> Range.encloseAll((List<Integer>) nullFirst));
        List<@Nullable Integer> nullNotFirst = Lists.newArrayList(0, null);
        assertThrows(NullPointerException.class, () -> Range.encloseAll((List<Integer>) nullNotFirst));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Booleans.java

       * @return an array containing the same values as {@code collection}, in the same order, converted
       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
       */
      public static boolean[] toArray(Collection<Boolean> collection) {
        if (collection instanceof BooleanArrayAsList) {
          return ((BooleanArrayAsList) collection).toBooleanArray();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        assertThrows(UnsupportedOperationException.class, () -> sortedMultiset.pollFirstEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLower() {
        resetWithHole();
        assertEquals(null, sortedMultiset.headMultiset(a.getElement(), OPEN).lastEntry());
        assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry());
        assertEquals(a, sortedMultiset.headMultiset(c.getElement(), OPEN).lastEntry());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top