Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Bob (0.15 sec)

  1. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals(-1, Iterables.indexOf(list, Predicates.equalTo("jack")));
      }
    
      public void testIndexOf_withDuplicates() {
        List<String> list = Lists.newArrayList("mary", "bob", "bob", "bob", "sam");
        assertEquals(0, Iterables.indexOf(list, Predicates.equalTo("mary")));
        assertEquals(1, Iterables.indexOf(list, Predicates.equalTo("bob")));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
  2. callbacks/create_test.go

    		t.Errorf("parse schema error: %v, is not expected", err)
    		return
    	}
    	dest := []*user{
    		{
    			ID:    1,
    			Name:  "alice",
    			Email: "email",
    			Age:   18,
    		},
    		{
    			ID:    2,
    			Name:  "bob",
    			Email: "email",
    			Age:   19,
    		},
    	}
    	stmt := &gorm.Statement{
    		DB: &gorm.DB{
    			Config: &gorm.Config{
    				NowFunc: func() time.Time { return time.Time{} },
    			},
    			Statement: &gorm.Statement{
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 05:48:42 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals(-1, Iterables.indexOf(list, Predicates.equalTo("jack")));
      }
    
      public void testIndexOf_withDuplicates() {
        List<String> list = Lists.newArrayList("mary", "bob", "bob", "bob", "sam");
        assertEquals(0, Iterables.indexOf(list, Predicates.equalTo("mary")));
        assertEquals(1, Iterables.indexOf(list, Predicates.equalTo("bob")));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  4. 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 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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 Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

                            Helpers.mapEntry("a", (Collection<String>) ImmutableSortedSet.of("alex")),
                            Helpers.mapEntry(
                                "b", (Collection<String>) ImmutableSortedSet.of("bob", "bagel")),
                            Helpers.mapEntry(
                                "c", (Collection<String>) ImmutableSortedSet.of("carl", "carol")),
                            Helpers.mapEntry(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top