Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for truth (0.04 sec)

  1. guava/src/com/google/common/base/Preconditions.java

     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Preconditions {
      private Preconditions() {}
    
      private interface Impossible {}
    
      /**
       * Ensures the truth of an expression involving one or more parameters to the calling method.
       *
       * @param expression a boolean expression
       * @throws IllegalArgumentException if {@code expression} is false
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  2. src/text/template/funcs.go

    			}
    		} else {
    			switch k1 {
    			case boolKind:
    				truth = arg1.Bool() == arg.Bool()
    			case complexKind:
    				truth = arg1.Complex() == arg.Complex()
    			case floatKind:
    				truth = arg1.Float() == arg.Float()
    			case intKind:
    				truth = arg1.Int() == arg.Int()
    			case stringKind:
    				truth = arg1.String() == arg.String()
    			case uintKind:
    				truth = arg1.Uint() == arg.Uint()
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Preconditions.java

     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Preconditions {
      private Preconditions() {}
    
      private interface Impossible {}
    
      /**
       * Ensures the truth of an expression involving one or more parameters to the calling method.
       *
       * @param expression a boolean expression
       * @throws IllegalArgumentException if {@code expression} is false
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  4. guava-gwt/pom.xml

          <artifactId>gwt-user</artifactId>
          <version>${gwt.version}</version>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>com.google.truth</groupId>
          <artifactId>truth</artifactId>
          <version>${truth.version}</version>
          <classifier>gwt</classifier>
          <scope>test</scope>
          <exclusions>
            <exclusion>
              <!-- use the guava we're building. -->
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 15:00:55 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  5. src/text/template/exec.go

    	case reflect.Array, reflect.Map, reflect.Slice, reflect.String:
    		truth = val.Len() > 0
    	case reflect.Bool:
    		truth = val.Bool()
    	case reflect.Complex64, reflect.Complex128:
    		truth = val.Complex() != 0
    	case reflect.Chan, reflect.Func, reflect.Pointer, reflect.Interface:
    		truth = !val.IsNil()
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		truth = val.Int() != 0
    	case reflect.Float32, reflect.Float64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/aggregate/controller_test.go

    	// List Services from aggregate controller
    	services := aggregateCtl.Services()
    
    	// Set up ground truth hostname values
    	hosts := map[host.Name]bool{
    		mock.HelloService.Hostname: false,
    		mock.WorldService.Hostname: false,
    	}
    
    	count := 0
    	// Compare return value to ground truth
    	for _, svc := range services {
    		if counted, existed := hosts[svc.Hostname]; existed && !counted {
    			count++
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.Helpers;
    import com.google.common.testing.EqualsTester;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 08:42:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/EnumsTest.java

    package com.google.common.base;
    
    import static com.google.common.base.StandardSystemProperty.JAVA_CLASS_PATH;
    import static com.google.common.base.StandardSystemProperty.PATH_SEPARATOR;
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.ImmutableList;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. src/cmd/trace/pprof.go

    	if rec, ok := m.stacks[stack]; ok {
    		return rec
    	}
    	// Slow path: the stack may still be in the map.
    
    	// Grab the stack's PCs as the source-of-truth.
    	var pcs [pprofMaxStack]uint64
    	pcsForStack(stack, &pcs)
    
    	// Check the source-of-truth.
    	var rec *traceviewer.ProfileRecord
    	if existing, ok := m.pcs[pcs]; ok {
    		// In the map.
    		rec = m.stacks[existing]
    		delete(m.stacks, existing)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.testing.GcFinalization.FinalizationPredicate;
    import com.google.common.util.concurrent.SettableFuture;
    import java.lang.ref.WeakReference;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top