Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,560 for just (0.02 sec)

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

      //    (hypothetical) unsafe read by our caller. Note: adding 'volatile' does not fix this issue,
      //    it would just add an edge such that if done() observed non-null, then it would also
      //    definitely observe all earlier writes, but we still have no guarantee that done() would see
      //    the initial write (just stronger guarantees if it does).
      //
      // See: http://cs.oswego.edu/pipermail/concurrency-interest/2015-January/013800.html
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Booleans.java

       */
      public static String join(String separator, boolean... array) {
        checkNotNull(separator);
        if (array.length == 0) {
          return "";
        }
    
        // For pre-sizing a builder, just get the right order of magnitude
        StringBuilder builder = new StringBuilder(array.length * 7);
        builder.append(array[0]);
        for (int i = 1; i < array.length; i++) {
          builder.append(separator).append(array[i]);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Booleans.java

       */
      public static String join(String separator, boolean... array) {
        checkNotNull(separator);
        if (array.length == 0) {
          return "";
        }
    
        // For pre-sizing a builder, just get the right order of magnitude
        StringBuilder builder = new StringBuilder(array.length * 7);
        builder.append(array[0]);
        for (int i = 1; i < array.length; i++) {
          builder.append(separator).append(array[i]);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/HashingTest.java

        HashTestUtils.assertInvariants(Hashing.fingerprint2011());
        assertEquals("Hashing.fingerprint2011()", Hashing.fingerprint2011().toString());
      }
    
      @AndroidIncompatible // slow TODO(cpovirk): Maybe just reduce iterations under Android.
      public void testGoodFastHash() {
        for (int i = 1; i < 200; i += 17) {
          HashFunction hasher = Hashing.goodFastHash(i);
          assertTrue(hasher.bits() >= i);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                }
    
                // Verify each context was encoded
                assertTrue(offset > 0);
                // The actual encoded size might be different from size() due to padding
                // Just verify that we encoded something for each context
                for (CreateContextRequest context : contexts) {
                    assertNotNull(context.getName());
                }
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/eventbus/EventBus.java

        checkNotNull(e);
        checkNotNull(context);
        try {
          exceptionHandler.handleException(e, context);
        } catch (Throwable e2) {
          // if the handler threw an exception... well, just log it
          logger.log(
              Level.SEVERE,
              String.format(Locale.ROOT, "Exception %s thrown while handling exception: %s", e2, e),
              e2);
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                    case RESOLVER_LMHOSTS:
                        final NbtAddress ans = Lmhosts.getByName(name);
                        if (ans != null) {
                            ans.hostName.srcHashCode = 0; // just has to be different
                                                          // from other methods
                            return ans;
                        }
                        break;
                    case RESOLVER_WINS:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Suppliers.java

        }
    
        @Override
        public String toString() {
          // This is a little strange if the unit the user provided was not NANOS,
          // but we don't want to store the unit just for toString
          return "Suppliers.memoizeWithExpiration(" + delegate + ", " + durationNanos + ", NANOS)";
        }
    
        @GwtIncompatible
        @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        public void remove() {
          if (lastRet < 0) throw new IllegalStateException();
          Object x = array[lastRet];
          lastRet = -1;
          // Traverse underlying queue to find == element,
          // not just a .equals element.
          monitor.enter();
          try {
            for (Iterator<E> it = q.iterator(); it.hasNext(); ) {
              if (it.next() == x) {
                it.remove();
                return;
              }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  10. cmd/bucket-metadata-sys.go

    	if err != nil {
    		if errors.Is(err, errConfigNotFound) {
    			return nil, time.Time{}, BucketLifecycleNotFound{Bucket: bucket}
    		}
    		return nil, time.Time{}, err
    	}
    	// there could be just `ExpiryUpdatedAt` field populated as part
    	// of last delete all. Treat this situation as not lifecycle configuration
    	// available
    	if meta.lifecycleConfig == nil || len(meta.lifecycleConfig.Rules) == 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.4K bytes
    - Viewed (0)
Back to top