Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for bob (0.19 sec)

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

        try {
          Optional.of(null);
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testFromNullable() {
        Optional<String> optionalName = Optional.fromNullable("bob");
        assertEquals("bob", optionalName.get());
      }
    
      public void testFromNullable_null() {
        // not promised by spec, but easier to test
        assertSame(Optional.absent(), Optional.fromNullable(null));
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

       * 1-bit characteristics.
       *
       * <p>There is more general code provided by Bob Jenkins to test arbitrarily sized characteristics
       * using the magic of gaussian elimination: http://burtleburtle.net/bob/crypto/findingc.html.
       */
      static void checkNo2BitCharacteristics(HashFunction function) {
        Random rand = new Random(0);
        int keyBits = 32;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

            if (result.exitValue == 0) outputText.trim()
            else "<unknown>" // It's a source distribution, we don't know.
        }
    }
    
    
    // pre-test/master/queue/alice/feature -> master
    // pre-test/release/current/bob/bugfix -> release
    // gh-readonly-queue/master/pr-1234-5678abcdef -> master
    fun toMergeQueueBaseBranch(actualBranch: String): String = when {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  4. operator/README.md

    ```yaml
    apiVersion: install.istio.io/v1alpha1
    kind: IstioOperator
    spec:
      profile: /usr/home/bob/go/src/github.com/ostromart/istio-installer/data/profiles/default.yaml
      installPackagePath: /usr/home/bob/go/src/github.com/ostromart/istio-installer/data/charts/
    ```
    
    Plain Text
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Sun Sep 17 08:27:52 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapMaker.java

     * java.util.WeakHashMap}, but note that it compares keys using object identity whereas {@code
     * WeakHashMap} uses {@link Object#equals}.
     *
     * @author Bob Lee
     * @author Charles Fry
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class MapMaker {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/InterceptorTest.kt

          val originalRequest = chain.request()
          val originalResponse =
            chain.proceed(
              originalRequest.newBuilder()
                .addHeader("Request-Interceptor", "Bob") // 2. Added second.
                .build(),
            )
          originalResponse.newBuilder()
            .addHeader("Response-Interceptor", "Cupcake") // 3. Added third.
            .build()
        }
        val request =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/FinalizableReferenceQueue.java

     *         }
     *       }
     *     };
     *     references.add(reference);
     *     return myServer;
     *   }
     *
     *   public void close() {
     *     serverSocket.close();
     *   }
     * }
     * }</pre>
     *
     * @author Bob Lee
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public class FinalizableReferenceQueue implements Closeable {
      /*
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

     *         }
     *       }
     *     };
     *     references.add(reference);
     *     return myServer;
     *   }
     *
     *   public void close() {
     *     serverSocket.close();
     *   }
     * }
     * }</pre>
     *
     * @author Bob Lee
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public class FinalizableReferenceQueue implements Closeable {
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Equivalence.java

     * hash codes in a manner consistent with that equivalence. Two examples of equivalences are the
     * {@linkplain #identity() identity equivalence} and the {@linkplain #equals "equals" equivalence}.
     *
     * @author Bob Lee
     * @author Ben Yu
     * @author Gregory Kick
     * @since 10.0 (<a href="https://github.com/google/guava/wiki/Compatibility">mostly
     *     source-compatible</a> since 4.0)
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Equivalence.java

     * target a lower API level. In the meantime, if you have support for method references you can use
     * an equivalence as a bi-predicate like this: {@code myEquivalence::equivalent}.
     *
     * @author Bob Lee
     * @author Ben Yu
     * @author Gregory Kick
     * @since 10.0 (<a href="https://github.com/google/guava/wiki/Compatibility">mostly
     *     source-compatible</a> since 4.0)
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top