Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1271 - 1280 of 2,316 for Booleans (0.07 sec)

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

      public final void awaitTerminated(long timeout, TimeUnit unit) throws TimeoutException {
        delegate.awaitTerminated(timeout, unit);
      }
    
      interface Cancellable {
        void cancel(boolean mayInterruptIfRunning);
    
        boolean isCancelled();
      }
    
      private static final class FutureAsCancellable implements Cancellable {
        private final Future<?> delegate;
    
        FutureAsCancellable(Future<?> delegate) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/av/AvPairs.java

         * @throws CIFSException if decoding fails
         */
        public static List<AvPair> decode(final byte[] data) throws CIFSException {
            final List<AvPair> pairs = new LinkedList<>();
            int pos = 0;
            boolean foundEnd = false;
            while (pos + 4 <= data.length) {
                final int avId = SMBUtil.readInt2(data, pos);
                final int avLen = SMBUtil.readInt2(data, pos + 2);
                pos += 4;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

                    "${user.home}/.m2/settings.xml", "user.home", MavenSettingsBuilder.ALT_USER_SETTINGS_XML_LOCATION);
    
            return buildSettings(userSettingsFile);
        }
    
        @Override
        public Settings buildSettings(boolean useCachedSettings) throws IOException, XmlPullParserException {
            return buildSettings();
        }
    
        @Override
        public Settings buildSettings(File userSettingsFile) throws IOException, XmlPullParserException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractListMultimap.java

       *
       * @param key key to store in the multimap
       * @param value value to store in the multimap
       * @return {@code true} always
       */
      @CanIgnoreReturnValue
      @Override
      public boolean put(@ParametricNullness K key, @ParametricNullness V value) {
        return super.put(key, value);
      }
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

        // TODO(cpovirk): Test forwarding more extensively.
      }
    
      public void testAddCallback() {
        FluentFuture<String> f = FluentFuture.from(immediateFuture("a"));
        boolean[] called = new boolean[1];
        f.addCallback(
            new FutureCallback<String>() {
              @Override
              public void onSuccess(String result) {
                called[0] = true;
              }
    
              @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/eventbus/Subscriber.java

      }
    
      @Override
      public final int hashCode() {
        return (31 + method.hashCode()) * 31 + System.identityHashCode(target);
      }
    
      @Override
      public final boolean equals(@Nullable Object obj) {
        if (obj instanceof Subscriber) {
          Subscriber that = (Subscriber) obj;
          // Use == so that different equal instances will still receive events.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

         */
        static class TestCreateContextRequest implements CreateContextRequest {
            private byte[] name;
            private byte[] data;
            private int encodedSize;
            private boolean throwOnEncode = false;
            private boolean throwOnSize = false;
            private int sizeCallCount = 0;
            private int encodeCallCount = 0;
    
            public TestCreateContextRequest(byte[] name) {
                this.name = name;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            // Test thread safety - multiple threads accessing the same response
            final int THREAD_COUNT = 10;
            Thread[] threads = new Thread[THREAD_COUNT];
            final boolean[] success = new boolean[THREAD_COUNT];
    
            for (int i = 0; i < THREAD_COUNT; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
                    try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/EmptyIteratorTest.java

        void testConcurrentAccess() throws InterruptedException, CIFSException {
            // Given
            final int threadCount = 10;
            final Thread[] threads = new Thread[threadCount];
            final boolean[] results = new boolean[threadCount];
    
            try (EmptyIterator sharedIterator = new EmptyIterator()) {
                // When
                for (int i = 0; i < threadCount; i++) {
                    final int index = i;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/SLinkedList.java

         * @return true if the list is empty, false otherwise
         */
        public boolean isEmpty() {
            return size == 0;
        }
    
        /**
         * Checks if an element is contained in the list.
         *
         * @param element the element
         * @return true if the element is contained in the list, false otherwise
         */
        public boolean contains(final E element) {
            return indexOf(element) != -1;
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top