Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 411 for guarantee (0.14 seconds)

  1. guava/src/com/google/common/collect/Iterables.java

       * .toString(Iterables.toArray(iterable))}). Note that for <i>most</i> implementations of {@link
       * Collection}, {@code collection.toString()} also gives the same result, but that behavior is not
       * generally guaranteed.
       */
      public static String toString(Iterable<?> iterable) {
        return Iterators.toString(iterable.iterator());
      }
    
      /**
       * Returns the single element contained in {@code iterable}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  2. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    gradle/gradle, it's easy for an object to be created without applying its associated plugin. For instance, Spring has a plugin that uses the Checkstyle task directly without applying the Checkstyle plugin.
    
    Until we can provide the same guarantees for core plugins, we need to be more conservative for existing classes and not follow best practices. This means conventions need to be set in both a plugin and the constructor. This keeps existing builds working, but it may complicate the implementation....
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 10K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/FileBackedOutputStream.java

            File temp = TempFileCreator.INSTANCE.createTempFile("FileBackedOutputStream");
            if (resetWhenGarbageCollected) {
              // References are not guaranteed to be collected on system shutdown; this is insurance.
              temp.deleteOnExit();
            }
            FileOutputStream transfer = null;
            try {
              transfer = new FileOutputStream(temp);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/net/HostAndPort.java

       * omitted from the input string. If a port was already provided, then this method is a no-op.
       *
       * @param defaultPort a port number, from [0..65535]
       * @return a HostAndPort instance, guaranteed to have a defined port.
       */
      public HostAndPort withDefaultPort(int defaultPort) {
        checkArgument(isValidPort(defaultPort));
        if (hasPort()) {
          return this;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

                assertEquals(pipeName.getBytes(StandardCharsets.UTF_16LE).length, SMBUtil.readInt4(buffer, offset + 8));
                assertEquals(0x1, buffer[offset + 12]);
                // Note: Padding byte at offset + 13 is not guaranteed to be 0 after encode
    
                // Verify areas before offset are untouched
                for (int i = 0; i < offset; i++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

                }
            }
    
            // Examine interfaces. Note we do it even if superclazz == null.
            // This is redundant as currently java.lang.Object does not implement
            // any interfaces, however nothing guarantees it will not in the future.
            Class<?>[] interfaces = clazz.getInterfaces();
            for (int i = interfaces.length; i-- > 0; ) {
                upcastCount = getAccessibleMethods(interfaces[i], methodInfos, upcastCount);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

        } catch (Throwable t) { // sneaky checked exception
          return false;
        }
      }
    
      private static <X extends Exception> X newWithCause(Class<X> exceptionClass, Throwable cause) {
        // getConstructors() guarantees this as long as we don't modify the array.
        @SuppressWarnings({"unchecked", "rawtypes"})
        List<Constructor<X>> constructors = (List) Arrays.asList(exceptionClass.getConstructors());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableSetMultimap.java

        }
        ImmutableSetMultimap<V, K> invertedMultimap = builder.build();
        invertedMultimap.inverse = this;
        return invertedMultimap;
      }
    
      /**
       * Guaranteed to throw an exception and leave the multimap unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 19 22:57:35 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * computation is already complete, immediately.
       *
       * <p>The callback is run on {@code executor}. There is no guaranteed ordering of execution of
       * callbacks, but any callback added through this method is guaranteed to be called once the
       * computation is complete.
       *
       * <p>Example:
       *
       * {@snippet :
       * future.addCallback(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 19.8K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

                  : new DescendingImmutableSortedMultiset<E>(this);
        }
        return result;
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>This implementation is guaranteed to throw an {@link UnsupportedOperationException}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 29.5K bytes
    - Click Count (0)
Back to Top