Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for p1 (0.02 sec)

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

       *
       * @since 23.1 (varargs overload since 17.0)
       */
      public static void verify(boolean expression, String errorMessageTemplate, char p1) {
        if (!expression) {
          throw new VerifyException(lenientFormat(errorMessageTemplate, p1));
        }
      }
    
      /**
       * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with a
       * custom message otherwise.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Verify.java

       *
       * @since 23.1 (varargs overload since 17.0)
       */
      public static void verify(boolean expression, String errorMessageTemplate, char p1) {
        if (!expression) {
          throw new VerifyException(lenientFormat(errorMessageTemplate, p1));
        }
      }
    
      /**
       * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with a
       * custom message otherwise.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            p2.put("trees", "fir, oak, maple");
            p1.update(p2);
    
            assertEquals(2, (Object) p1.size());
            Object o23 = p1.getComments("trees");
            assertEquals(List.of("#", "# List of trees", "#"), o23);
            Object o22 = p1.getProperty("trees");
            assertEquals("fir, oak, maple", o22);
            Object o21 = p1.getComments("fruits");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/ContextConfigTest.java

            Properties prop1 = new Properties();
            prop1.setProperty("jcifs.smb.client.minVersion", "SMB302");
            PropertyConfiguration p1 = new PropertyConfiguration(prop1);
            assertEquals(DialectVersion.SMB302, p1.getMinimumVersion());
            assertEquals(DialectVersion.SMB302, p1.getMaximumVersion());
    
            Properties prop2 = new Properties();
            prop2.setProperty("jcifs.smb.client.maxVersion", "SMB302");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/PredicatesTest.java

        Predicate<@Nullable Integer> p1 = Predicates.isNull();
        Predicate<@Nullable Integer> p2 = isOdd();
    
        // Make sure that hash codes are not computed per-instance.
        assertEqualHashCode(Predicates.not(p1), Predicates.not(p1));
    
        assertEqualHashCode(Predicates.and(p1, p2), Predicates.and(p1, p2));
    
        assertEqualHashCode(Predicates.or(p1, p2), Predicates.or(p1, p2));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

        }
    
        private static boolean repositoryPolicyEquals(ArtifactRepositoryPolicy p1, ArtifactRepositoryPolicy p2) {
            if (p1 == p2) {
                return true;
            }
    
            return p1.isEnabled() == p2.isEnabled() && Objects.equals(p1.getUpdatePolicy(), p2.getUpdatePolicy());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            int p1, p2, l1, l2;
    
            // if unsure return this method returns true
    
            p1 = path1.lastIndexOf('/');
            p2 = path2.lastIndexOf('/');
            l1 = path1.length() - p1;
            l2 = path2.length() - p2;
    
            // anything with dots voids comparison
            if ( l1 > 1 && path1.charAt(p1 + 1) == '.' )
                return true;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            return result;
        }
    
        private static boolean policyEquals(RepositoryPolicy p1, RepositoryPolicy p2) {
            if (p1 == p2) {
                return true;
            }
            // update policy doesn't affect contents
            return p1.isEnabled() == p2.isEnabled() && Objects.equals(p1.getChecksumPolicy(), p2.getChecksumPolicy());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. tests/preload_test.go

    	DB.Migrator().AutoMigrate(&Preload{}, &Join{}, &Nested{}, &Value{})
    
    	value1 := Value{
    		Name: "value",
    		Nested: Nested{
    			Preloads: []*Preload{
    				{Value: "p1"}, {Value: "p2"},
    			},
    			Join: Join{Value: "j1"},
    		},
    	}
    	value2 := Value{
    		Name: "value2",
    		Nested: Nested{
    			Preloads: []*Preload{
    				{Value: "p3"}, {Value: "p4"}, {Value: "p5"},
    			},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/Striped64.java

       *
       * <p>JVM intrinsics note: It would be possible to use a release-only form of CAS here, if it were
       * provided.
       */
      static final class Cell {
        volatile long p0, p1, p2, p3, p4, p5, p6;
        volatile long value;
        volatile long q0, q1, q2, q3, q4, q5, q6;
    
        Cell(long x) {
          value = x;
        }
    
        final boolean cas(long cmp, long val) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top