Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 1,041 for model (0.02 sec)

  1. tests/non_std_test.go

    	if updatedAt1.Format(time.RFC3339Nano) == animal.UpdatedAt.Format(time.RFC3339Nano) {
    		t.Errorf("UpdatedAt should be updated")
    	}
    
    	var animals []Animal
    	DB.Find(&animals)
    	if count := DB.Model(Animal{}).Where("1=1").Update("CreatedAt", time.Now().Add(2*time.Hour)).RowsAffected; count != int64(len(animals)) {
    		t.Error("RowsAffected should be correct when do batch update")
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. tests/scan_test.go

    	if res.ID != user2.ID || res.Name != user2.Name || res.Age != int(user2.Age) {
    		t.Fatalf("Scan into struct should work, got %#v, should %#v", res, user2)
    	}
    
    	DB.Model(&User{Model: gorm.Model{ID: user3.ID}}).Select("id, name, age").Scan(&res)
    	if res.ID != user3.ID || res.Name != user3.Name || res.Age != int(user3.Age) {
    		t.Fatalf("Scan into struct should work, got %#v, should %#v", res, user3)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDslReferencePlugin.java

    import org.gradle.api.Plugin;
    import org.gradle.api.Project;
    import org.gradle.api.artifacts.Configuration;
    import org.gradle.api.file.ConfigurableFileTree;
    import org.gradle.api.file.ProjectLayout;
    import org.gradle.api.model.ObjectFactory;
    import org.gradle.api.tasks.TaskContainer;
    import org.gradle.api.tasks.TaskProvider;
    import gradlebuild.docs.dsl.docbook.AssembleDslDocTask;
    import gradlebuild.docs.dsl.source.ExtractDslMetaDataTask;
    
    /**
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  4. api/maven-api-spi/pom.xml

        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-meta</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-model</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-core</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Oct 19 18:11:20 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryFactory.java

    import org.apache.maven.api.Service;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.model.Repository;
    
    /**
     * Factory service to create {@link LocalRepository} or {@link RemoteRepository} objects.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface RepositoryFactory extends Service {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ModuleIdentityExtension.kt

     * limitations under the License.
     */
    
    package gradlebuild.identity.extension
    
    import gradlebuild.basics.buildCommitId
    import gradlebuild.identity.tasks.BuildReceipt
    import org.gradle.api.model.ObjectFactory
    import org.gradle.api.provider.Property
    import org.gradle.api.tasks.TaskContainer
    import org.gradle.api.tasks.bundling.Jar
    import org.gradle.kotlin.dsl.*
    import org.gradle.util.GradleVersion
    
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutor.java

     * under the License.
     */
    package org.apache.maven.lifecycle;
    
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.plugin.InvalidPluginDescriptorException;
    import org.apache.maven.plugin.MojoExecution;
    import org.apache.maven.plugin.MojoNotFoundException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/MethodMetaData.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs.dsl.source.model;
    
    import org.gradle.api.Action;
    
    import java.io.Serializable;
    import java.util.ArrayList;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Objects;
    
    /**
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/TransformerContextBuilder.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.building;
    
    /**
     * The transformerContextBuilder is responsible for initializing the TransformerContext.
     * In case rawModels are missing, it could do new buildingRequests on the ModelBuilder.
     *
     * @since 4.0.0
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/BuildTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top