Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,733 for set1 (0.05 sec)

  1. callbacks/update.go

    							set = append(set, clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: now.UnixNano()})
    						} else if field.AutoUpdateTime == schema.UnixMillisecond {
    							set = append(set, clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: now.UnixMilli()})
    						} else if field.AutoUpdateTime == schema.UnixSecond {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 05:44:55 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. docs_src/body_nested_models/tutorial004_py310.py

    app = FastAPI()
    
    
    class Image(BaseModel):
        url: str
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
        image: Image | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed May 11 17:29:02 UTC 2022
    - 455 bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java

            System.out.println("Project " + project1.getId() + " " + project1);
            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "No Artifacts");
            Iterator iter = set.iterator();
            assertTrue(set.size() == 4, "Set size should be 4, is " + set.size());
    
            while (iter.hasNext()) {
                Artifact artifact = (Artifact) iter.next();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

        int index = aValidIndex();
        E initialValue = getList().get(index);
        assertEquals(
            "set(i, x) should return the old element at position i.",
            initialValue,
            getList().set(index, newValue));
        assertEquals("After set(i, x), get(i) should return x", newValue, getList().get(index));
        assertEquals("set() should not change the size of a list.", getNumElements(), getList().size());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. schema/field.go

    					} else if fieldValue.IsNil() {
    						fieldValue.Set(reflect.New(fieldType))
    					}
    					fieldValue.Elem().Set(reflectV)
    					return
    				} else if reflectValType.ConvertibleTo(fieldType) {
    					if fieldValue.IsNil() {
    						fieldValue.Set(reflect.New(fieldType))
    					}
    
    					fieldValue.Elem().Set(reflectV.Convert(fieldType))
    					return
    				}
    			}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  6. manifests/charts/base/files/crd-all.gen.yaml

      versions:
      - additionalPrinterColumns:
        - description: 'CreationTimestamp is a timestamp representing the server time
            when this object was created. It is not guaranteed to be set in happens-before
            order across separate operations. Clients may not set this value. It is represented
            in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Nov 01 16:23:52 UTC 2024
    - 805K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SecurityBlob.java

    package jcifs.smb;
    
    
    /**
     * This class represents the Secrity_Blob in SMB Block and is set to support
     * kerberos authentication.
     * 
     * @author Shun
     *
     */
    class SecurityBlob {
    
        private byte[] b = new byte[0];
    
    
        SecurityBlob () {}
    
    
        SecurityBlob ( byte[] b ) {
            set(b);
        }
    
    
        void set ( byte[] b ) {
            this.b = b == null ? new byte[0] : b;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Execution.java

        } // -- void removeGoal( String )
    
        /**
         * Set configuration to pass to the goals.
         *
         * @param configuration a configuration object.
         */
        public void setConfiguration(Object configuration) {
            this.configuration = configuration;
        } // -- void setConfiguration( Object )
    
        /**
         * Set the goals to execute.
         *
         * @param goals a goals object.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. cmd/metrics-v3-cluster-iam.go

    	m.Set(pluginAuthnServiceSuccAvgRttMsMinute, pluginAuthNMetrics.AvgSuccRTTMs)
    	m.Set(pluginAuthnServiceSuccMaxRttMsMinute, pluginAuthNMetrics.MaxSuccRTTMs)
    	m.Set(pluginAuthnServiceTotalRequestsMinute, float64(pluginAuthNMetrics.TotalRequests))
    	lastSyncTime := atomic.LoadUint64(&globalIAMSys.LastRefreshTimeUnixNano)
    	if lastSyncTime != 0 {
    		m.Set(sinceLastSyncMillis, float64((uint64(time.Now().UnixNano())-lastSyncTime)/uint64(time.Millisecond)))
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 02 08:20:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. docs_src/path_operation_configuration/tutorial002_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
    
    
    @app.post("/items/", response_model=Item, tags=["items"])
    async def create_item(item: Item):
        return item
    
    
    @app.get("/items/", tags=["items"])
    async def read_items():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 537 bytes
    - Viewed (0)
Back to top