Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 511 for hook (0.06 sec)

  1. tests/hooks_test.go

    	product2 := Product3{Name: "Product", Price: 0}
    	DB.Session(&gorm.Session{SkipHooks: true}).Create(&product2)
    
    	if product2.Price != 0 {
    		t.Errorf("invalid price after create without hooks, got %+v", product2)
    	}
    }
    
    func TestHooksForSlice(t *testing.T) {
    	DB.Migrator().DropTable(&Product3{})
    	DB.AutoMigrate(&Product3{})
    
    	products := []*Product3{
    		{Name: "Product-1", Price: 100},
    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. docs/bigdata/README.md

        examples/jars/spark-examples*.jar 10
    ```
    
    The job should produce an output as shown below. Note the value of pi in the output.
    
    ```
    17/03/22 23:21:10 INFO DAGScheduler: Job 0 finished: reduce at SparkPi.scala:38, took 1.302805 s
    Pi is roughly 3.1445191445191445
    ```
    
    Job status can also be viewed in a browser by navigating to the YARN ResourceManager Web UI and clicking on job history server information.
    
    ### **4.2 WordCount**
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 14.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/ValueGraphTest.java

                      for (Integer node : graph.nodes()) {
                        Set<Integer> unused = graph.successors(node);
                      }
                      /*
                       * Also look up an earlier node so that, if the graph is using MapRetrievalCache,
                       * we read one of the fields declared in that class.
                       */
                      Set<Integer> unused = graph.successors(first);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 06 18:35:19 UTC 2024
    - 20K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        @Override
        public String toString() {
          return getKey() + "=" + getValue();
        }
      }
    
      // TODO(fry): Separate logic for consistency between emul and nonemul implementation.
      // TODO(fry): Look into Maps.KeySet and Maps.Values, which can ideally be reused here but are
      // currently only package visible.
      abstract class AbstractCacheSet<T> extends AbstractSet<T> {
        final ConcurrentMap<?, ?> map;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  5. docs/sts/web-identity.md

    2018/12/26 17:49:36 listening on http://localhost:8080/
    ```
    
    > NOTE: for a reasonable test outcome, make sure the assumed user has at least permission/policy to list all buckets. That policy would look like below:
    
    ```
    {
      "version": "2012-10-17",
      "statement": [
        {
          "effect": "Allow",
          "action": [
            "s3:ListAllMyBuckets"
          ],
          "resource": [
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. docs/ru/docs/async.md

    Но внутреннее устройство **конкурентности** и **параллелизма** довольно разное.
    
    Чтобы это понять, представьте такую картину:
    
    ### Конкурентные бургеры
    
    <!-- The gender neutral cook emoji "🧑‍🍳" does not render well in browsers. In the meantime, I'm using a mix of male "👨‍🍳" and female "👩‍🍳" cooks. -->
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 39.9K bytes
    - Viewed (0)
  7. cmd/storage-rest-client.go

    		return "", errDiskNotFound
    	}
    
    	// This call should never be over the network, this is always
    	// a cached value - caller should make sure to use this
    	// function on a fresh disk or make sure to look at the error
    	// from a different networked call to validate the GetDiskID()
    	return *client.diskID.Load(), nil
    }
    
    func (client *storageRESTClient) SetDiskID(id string) {
    	client.diskID.Store(&id)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. statement.go

    	stmt.Settings.Range(func(k, v interface{}) bool {
    		newStmt.Settings.Store(k, v)
    		return true
    	})
    
    	return newStmt
    }
    
    // SetColumn set column's value
    //
    //	stmt.SetColumn("Name", "jinzhu") // Hooks Method
    //	stmt.SetColumn("Name", "jinzhu", true) // Callbacks Method
    func (stmt *Statement) SetColumn(name string, value interface{}, fromCallbacks ...bool) {
    	if v, ok := stmt.Dest.(map[string]interface{}); ok {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. licenses/github.com/hashicorp/go-multierror/LICENSE

    If it is not possible or desirable to put the notice in a particular file, then
    You may include the notice in a location (such as a LICENSE file in a relevant
    directory) where a recipient would be likely to look for such a notice.
    
    You may add additional accurate notices of copyright ownership.
    
    Exhibit B - “Incompatible With Secondary Licenses” Notice
    
          This Source Code Form is “Incompatible
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Oct 26 02:47:39 UTC 2019
    - 15.6K bytes
    - Viewed (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

    import org.codehaus.plexus.configuration.xml.XmlPlexusConfiguration;
    
    /**
     * The bean containing the Mojo descriptor.<br>
     * For more information about the usage tag, have a look to:
     * <a href="https://maven.apache.org/developers/mojo-api-specification.html">
     * https://maven.apache.org/developers/mojo-api-specification.html</a>
     *
     * TODO is there a need for the delegation of MavenMojoDescriptor to this?
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top