Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 46 for p2 (0.01 sec)

  1. tests/hooks_test.go

    	if DB.Save(&Product{Code: "dont_save", Price: 100}).Error == nil {
    		t.Fatalf("An error from after create callbacks happened when create with invalid value")
    	}
    
    	p2 := Product{Code: "update_callback", Price: 100}
    	DB.Save(&p2)
    
    	p2.Code = "dont_update"
    	if DB.Save(&p2).Error == nil {
    		t.Fatalf("An error from before update callbacks happened when update with invalid value")
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            MavenProperties p2 = new MavenProperties();
            p2.put(
                    "fruits",
                    List.of("#", "# List of good fruits", "#"),
                    List.of("                           apple, banana, pear"));
            p2.put("trees", "fir, oak, maple");
            p1.update(p2);
    
            assertEquals(2, (Object) p1.size());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/BuildModelSourceTransformerTest.java

                        continue;
                    }
                    Object p1 = prop.getReadMethod().invoke(m1);
                    Object p2 = prop.getReadMethod().invoke(m2);
                    if (!equalsDeep(p1, p2)) {
                        return false;
                    }
                }
                return true;
            } catch (Exception e) {
                throw new RuntimeException(e);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. 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());
        }
    
        private static boolean repositoryEquals(RemoteRepository r1, RemoteRepository r2) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/resources/inheritance-repo/t02/p0/p1/p2/p3/pom.xml

    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    
    <project>
      <parent>
        <artifactId>p2</artifactId>
        <groupId>maven.t02</groupId>
        <version>1.0</version>
      </parent>
      <modelVersion>4.0.0</modelVersion>
      <groupId>maven.t02</groupId>
      <artifactId>p3</artifactId>
      <packaging>pom</packaging>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

            ArtifactRepository repo = getRepo("a");
    
            Mirror mirrorA = newMirror("a", "a", null, "http://a");
            Mirror mirrorB = newMirror("b", "a", "p2", "http://b");
    
            Mirror mirrorC = newMirror("c", "*", null, "http://c");
            Mirror mirrorD = newMirror("d", "*", "p2", "http://d");
    
            assertSame(mirrorA, mirrorSelector.getMirror(repo, Arrays.asList(mirrorA)));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. logger/sql_test.go

    		},
    		{
    			SQL:           "create table users (name, age, height, actived, bytes, create_at, update_at, deleted_at, email, role, pass) values (@p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11)",
    			NumericRegexp: regexp.MustCompile(`@p(\d+)`),
    			Vars:          []interface{}{"jinzhu", 1, 999.99, true, []byte("12345"), tt, &tt, nil, "******@****.***", myrole, pwd},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. README.md

    think the issue should get addressed.
    
    - **Priority**. Each issue has a priority which is represented by the column in the [Prioritization](https://github.com/orgs/istio/projects/6) project. Priority can be one of
    P0, P1, P2, or >P2. The priority indicates how important it is to address the issue within the milestone. P0 says that the
    milestone cannot be considered achieved if the issue isn't resolved.
    
    ---
    
    <div align="center">
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 30 22:38:34 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java

            File localRepo = getLocalRepositoryPath();
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom0Basedir = pom0.getParentFile();
            File pom2 = new File(pom0Basedir, "p2/pom.xml");
    
            // load the child project, which inherits from p0...
            MavenProject project0 = getProjectWithDependencies(pom0);
            MavenProject project2 = getProjectWithDependencies(pom2);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. src/archive/tar/reader.go

    		case format.has(FormatGNU):
    			hdr.Format = format
    			var p2 parser
    			gnu := tr.blk.toGNU()
    			if b := gnu.accessTime(); b[0] != 0 {
    				hdr.AccessTime = time.Unix(p2.parseNumeric(b), 0)
    			}
    			if b := gnu.changeTime(); b[0] != 0 {
    				hdr.ChangeTime = time.Unix(p2.parseNumeric(b), 0)
    			}
    
    			// Prior to Go1.8, the Writer had a bug where it would output
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top