Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 342 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. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileAvoidanceWithBuildCacheServiceIntegrationTest.groovy

                public class B {
                    public int truth() {
                        System.out.println("I knew it!");
                        return 42;
                    }
                }
            '''
        }
    
        void make_abi_breaking_change_on_b() {
            file('b/src/main/java/B.java').text = '''
                public class B {
                    public int truth() { return 42; }
                    public void newMethod() { }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. 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)
  4. android/guava-testlib/pom.xml

          <version>4.13.2</version>
        </dependency>
        <dependency>
          <!--
          Do not include Truth in non-test scope! Doing so creates a problematic dependency cycle.
          -->
          <groupId>com.google.truth</groupId>
          <artifactId>truth</artifactId>
          <version>${truth.version}</version>
          <scope>test</scope>
          <exclusions>
            <exclusion>
              <!-- use the guava we're building. -->
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jul 31 18:55:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. guava-testlib/pom.xml

          <version>4.13.2</version>
        </dependency>
        <dependency>
          <!--
          Do not include Truth in non-test scope! Doing so creates a problematic dependency cycle.
          -->
          <groupId>com.google.truth</groupId>
          <artifactId>truth</artifactId>
          <version>${truth.version}</version>
          <scope>test</scope>
          <exclusions>
            <exclusion>
              <!-- use the guava we're building. -->
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jul 31 18:55:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.Truth.assertWithMessage;
    import static com.google.common.util.concurrent.MoreExecutors.shutdownAndAwaitTermination;
    import static com.google.common.util.concurrent.Uninterruptibles.awaitUninterruptibly;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. guava-tests/pom.xml

        </dependency>
        <dependency>
          <groupId>com.google.truth</groupId>
          <artifactId>truth</artifactId>
          <version>${truth.version}</version>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>com.google.truth.extensions</groupId>
          <artifactId>truth-java8-extension</artifactId>
          <version>${truth.version}</version>
          <scope>test</scope>
        </dependency>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 07 19:01:53 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.Truth.assertWithMessage;
    
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Sets;
    import java.util.Map;
    import java.util.Random;
    import java.util.Set;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  9. test/fixedbugs/issue23521.go

    // license that can be found in the LICENSE file.
    
    // Issue 23521: improve early DCE for if without explicit else.
    
    package p
    
    //go:noinline
    func nonleaf() {}
    
    const truth = true
    
    func f() int { // ERROR "can inline f"
    	if truth {
    		return 0
    	}
    	// If everything below is removed, as it should,
    	// function f should be inlineable.
    	nonleaf()
    	for {
    		panic("")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 03 15:19:41 UTC 2018
    - 773 bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertWithMessage;
    
    import java.util.concurrent.Executor;
    import java.util.concurrent.Future;
    import junit.framework.TestCase;
    
    /** Test for {@link ListenableFuture}. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 15 19:48:16 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top