Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 773 for Returned (0.07 sec)

  1. guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      public void testAsSet_present() {
        Set<String> expected = Collections.singleton("a");
        assertEquals(expected, Optional.of("a").asSet());
      }
    
      public void testAsSet_absent() {
        assertTrue("Returned set should be empty", Optional.absent().asSet().isEmpty());
      }
    
      public void testAsSet_presentIsImmutable() {
        Set<String> presentAsSet = Optional.of("a").asSet();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableList.java

       * and {@code toIndex}, exclusive. (If {@code fromIndex} and {@code toIndex} are equal, the empty
       * immutable list is returned.)
       *
       * <p><b>Note:</b> in almost all circumstances, the returned {@link ImmutableList} retains a
       * strong reference to {@code this}, which may prevent the original list from being garbage
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                int b;
                if ((b = in.read()) == -1) return null;
                sbuf[35] = (byte)b;
            }
    
            key.mid = Encdec.dec_uint16le( sbuf, 34 ) & 0xFFFF;
    
            /* Unless key returned is null or invalid Transport.loop() always
             * calls doRecv() after and no one else but the transport thread
             * should call doRecv(). Therefore it is ok to expect that the data
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
          throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
        }
      }
    
      private enum PlatformSpecificExceptionBatch {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. internal/s3select/simdj/reader.go

    	"github.com/minio/simdjson-go"
    )
    
    // Reader - JSON record reader for S3Select.
    type Reader struct {
    	args    *json.ReaderArgs
    	input   chan simdjson.Stream
    	decoded chan simdjson.Object
    
    	// err will only be returned after decoded has been closed.
    	err          *error
    	readCloser   io.ReadCloser
    	onReaderExit func()
    
    	exitReader chan struct{}
    	readerWg   sync.WaitGroup
    }
    
    // Read - reads single record.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 30 17:02:22 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

         * POM expressions, then re-parse into the resolved Model instance.
         * <p>
         * <b>NOTE:</b> This will result in a different instance of Model being returned!!!
         *
         * @param model The inbound Model instance, to serialize and reference for expression resolution
         * @param context The other context map to be used during resolution
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. internal/config/identity/openid/jwt.go

    		Transport: transport,
    	}
    	resp, err := clnt.Do(req)
    	if err != nil {
    		return d, err
    	}
    	defer closeRespFn(resp.Body)
    	if resp.StatusCode != http.StatusOK {
    		return d, fmt.Errorf("unexpected error returned by %s : status(%s)", u, resp.Status)
    	}
    	dec := json.NewDecoder(resp.Body)
    	if err = dec.Decode(&d); err != nil {
    		return d, err
    	}
    	return d, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 02:46:36 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableRangeSet.java

        return CollectCollectors.toImmutableRangeSet();
      }
    
      /**
       * Returns an empty immutable range set.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <C extends Comparable> ImmutableRangeSet<C> of() {
        return (ImmutableRangeSet<C>) EMPTY;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java

          ListenableFuture<? extends V> replacement = fallback.apply(cause);
          checkNotNull(
              replacement,
              "AsyncFunction.apply returned null instead of a Future. "
                  + "Did you mean to return immediateFuture(null)? %s",
              fallback);
          return replacement;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. cmd/erasure-metadata-utils_test.go

    		shuffledDisks[11] != disks[2] ||
    		shuffledDisks[12] != disks[14] ||
    		shuffledDisks[13] != disks[1] ||
    		shuffledDisks[14] != disks[15] ||
    		shuffledDisks[15] != disks[0] {
    		t.Errorf("shuffleDisks returned incorrect order.")
    	}
    }
    
    // TestEvalDisks tests the behavior of evalDisks
    func TestEvalDisks(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	nDisks := 16
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top