Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 1,133 for samme (0.02 sec)

  1. docs/en/docs/tutorial/body-updates.md

    * Save the data to your DB.
    * Return the updated model.
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[28:35] *}
    
    /// tip
    
    You can actually use this same technique with an HTTP `PUT` operation.
    
    But the example here uses `PATCH` because it was created for these use cases.
    
    ///
    
    /// note
    
    Notice that the input model is still validated.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        waiter.join();
        future.set(null);
        poller.join();
      }
    
      public void testToString_allUnique() throws Exception {
        // Two futures should not have the same toString, to avoid people asserting on it
        assertThat(SettableFuture.create().toString()).isNotEqualTo(SettableFuture.create().toString());
      }
    
      public void testToString_oom() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  3. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        val addressB = InetAddress.getByAddress("localhost", byteArrayOf(127, 0, 0, 2))
        other.use {
          other.start(addressA, 0)
    
          // Same address is okay.
          other.start(addressA, 0)
    
          // Same address with bound port is okay.
          other.start(addressA, other.port)
    
          // Different address is not okay.
          assertFailsWith<IllegalStateException> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  4. schema/relationship_test.go

    	if err != nil {
    		t.Fatalf("failed to parse schema")
    	}
    
    	relSchema := user.Relationships.Relations["Creators"].FieldSchema
    	if user != relSchema {
    		t.Fatalf("schema should be same, expects %p but got %p", user, relSchema)
    	}
    }
    
    type CreatedByModel struct {
    	CreatedByID uint
    	CreatedBy   *CreatedUser
    }
    
    type CreatedUser struct {
    	gorm.Model
    	CreatedByModel
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  5. src/bytes/buffer.go

    // Available returns how many bytes are unused in the buffer.
    func (b *Buffer) Available() int { return cap(b.buf) - len(b.buf) }
    
    // Truncate discards all but the first n unread bytes from the buffer
    // but continues to use the same allocated storage.
    // It panics if n is negative or greater than the length of the buffer.
    func (b *Buffer) Truncate(n int) {
    	if n == 0 {
    		b.Reset()
    		return
    	}
    	b.lastRead = opInvalid
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 17:38:56 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

         * same name.
         */
        public fun addHeader(
          name: String,
          value: Any,
        ): Builder =
          apply {
            headers_.add(name, value.toString())
          }
    
        /**
         * Adds a new header with the name and value. This may be used to add multiple headers with the
         * same name. Unlike [addHeader] this does not validate the name and
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    				// delete marker, if not add a new version for this delete
    				// marker.
    				if versioned {
    					vr.VersionID = mustGetUUID()
    				}
    			}
    		}
    		// De-dup same object name to collect multiple versions for same object.
    		v, ok := versionsMap[objects[i].ObjectName]
    		if ok {
    			v.Versions = append(v.Versions, vr)
    		} else {
    			v = FileInfoVersions{
    				Name:     vr.Name,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            // Set a test time using reflection
            long testTime = System.currentTimeMillis();
            setFieldValue(response, "lastWriteTime", testTime);
    
            // All time methods should return the same converted time
            long expectedTime = testTime + serverTimeZoneOffset;
            assertEquals(expectedTime, response.getCreateTime());
            assertEquals(expectedTime, response.getLastWriteTime());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Streams.java

        checkNotNull(streamA);
        checkNotNull(streamB);
        checkNotNull(function);
        boolean isParallel = streamA.isParallel() || streamB.isParallel(); // same as Stream.concat
        Spliterator<A> splitrA = streamA.spliterator();
        Spliterator<B> splitrB = streamB.spliterator();
        int characteristics =
            splitrA.characteristics()
                & splitrB.characteristics()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactHashMap.java

     * collector by only using a constant number of internal objects.
     *
     * <p>If there are no removals, then iteration order for the {@link #entrySet}, {@link #keySet}, and
     * {@link #values} views is the same as insertion order. Any removal invalidates any ordering
     * guarantees.
     *
     * <p>This class should not be assumed to be universally superior to {@code java.util.HashMap}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top