Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1621 - 1630 of 1,819 for else (0.02 sec)

  1. guava/src/com/google/common/hash/Hashing.java

        // Jump from bucket to bucket until we go out of range
        while (true) {
          next = (int) ((candidate + 1) / generator.nextDouble());
          if (next >= 0 && next < buckets) {
            candidate = next;
          } else {
            return candidate;
          }
        }
      }
    
      /**
       * Returns a hash code, having the same bit length as each of the input hash codes, that combines
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

              // JDK 11 response to the FAIL_HANDSHAKE
              val jvmVersion = System.getProperty("java.specification.version")
              assertThat(jvmVersion).isEqualTo("11")
            }
            else -> throw expected
          }
        }
      }
    
      @Test
      fun tlsHostnameVerificationFailure() {
        assumeNotWindows()
        platform.assumeNotBouncyCastle()
    
        server.enqueue(MockResponse())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            // now and then is still better than having no deadlock detection.
            allowedPriorLocks.put(acquiredLock, new ExampleStackTrace(acquiredLock, this));
          } else {
            // Unsafe acquisition order detected. Create and cache a
            // PotentialDeadlockException.
            PotentialDeadlockException exception =
                new PotentialDeadlockException(acquiredLock, this, path);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SetsTest.java

       */
      private static <E> void verifySetContents(Set<E> set, Iterable<E> contents) {
        Set<E> expected = null;
        if (contents instanceof Set) {
          expected = (Set<E>) contents;
        } else {
          expected = new HashSet<E>();
          for (E element : contents) {
            expected.add(element);
          }
        }
        assertEquals(expected, set);
      }
    
      @GwtIncompatible // NavigableSet
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
  5. doc/go_mem.html

    </p>
    
    <p>
    If the channel were buffered (e.g., <code>c = make(chan int, 1)</code>)
    then the program would not be guaranteed to print
    <code>"hello, world"</code>.  (It might print the empty string,
    crash, or do something else.)
    </p>
    
    <p class="rule">
    The <i>k</i>th receive from a channel with capacity <i>C</i> is synchronized before the completion of the <i>k</i>+<i>C</i>th send on that channel.
    </p>
    
    <p>
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 15:41:37 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. src/archive/tar/reader_test.go

    				}
    			case testWriteTo:
    				f := &testFile{ops: tf.ops}
    				got, err := fr.WriteTo(f)
    				if _, ok := err.(testError); ok {
    					t.Errorf("test %d.%d, WriteTo(): %v", i, j, err)
    				} else if got != tf.wantCnt || err != tf.wantErr {
    					t.Errorf("test %d.%d, WriteTo() = (%d, %v), want (%d, %v)", i, j, got, err, tf.wantCnt, tf.wantErr)
    				}
    				if len(f.ops) > 0 {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users_test.go

    		madmin.UpdateServiceAccountReq{
    			NewPolicy: fullS3PolicyBytes,
    		})
    
    	if err == nil {
    		c.Fatalf("service account should not be able to update policy on itself")
    	} else if !strings.Contains(err.Error(), "Access Denied") {
    		c.Fatalf("unexpected error: %v", err)
    	}
    }
    
    func (s *TestSuiteIAM) SetUpAccMgmtPlugin(c *check) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

        Collection<ListenableFuture<? extends T>> collection;
        if (futures instanceof Collection) {
          collection = (Collection<ListenableFuture<? extends T>>) futures;
        } else {
          collection = ImmutableList.copyOf(futures);
        }
        return (ListenableFuture<? extends T>[]) collection.toArray(new ListenableFuture<?>[0]);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.2.md

    you do this, then, at the time you re-vendor the "<code>k8s.io/kubernetes/"</code> code, you will need to set <code>job.Spec.ManualSelector = true</code>, or else set <code>job.Spec.Selector = nil.  </code>Otherwise, the jobs you create may be rejected.  See [Specifying your own pod selector](http://kubernetes.io/docs/user-guide/jobs/#specifying-your-own-pod-selector).
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Fri Dec 04 06:36:19 UTC 2020
    - 41.4K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        exceptionMessage: String?,
      ) {
        try {
          val result = string.toHttpUrl()
          if (exceptionMessage != null) {
            fail("Expected failure with $exceptionMessage but got $result")
          } else {
            fail("Expected failure but got $result")
          }
        } catch (iae: IllegalArgumentException) {
          iae.printStackTrace()
          if (exceptionMessage != null) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
Back to top