Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 646 for cloned (2.7 sec)

  1. src/test/java/jcifs/util/HMACT64Test.java

                when(mockMd5.clone()).thenReturn(clonedMd5);
    
                HMACT64 clonedHmac = (HMACT64) originalHmac.clone();
    
                assertNotNull(clonedHmac);
                assertNotSame(originalHmac, clonedHmac);
                verify(mockMd5, times(1)).clone(); // Verify that the internal MD5 was cloned
            }
        }
    
        @Test
        void testCloneNotSupportedException() throws NoSuchAlgorithmException, CloneNotSupportedException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SecurityBlobTest.java

            SecurityBlob copy = assertDoesNotThrow(() -> (SecurityBlob) original.clone(), "clone() should not throw");
    
            // Assert
            assertNotSame(original, copy, "clone should return a different instance");
            assertTrue(original.equals(copy), "Cloned instance should be equal by content");
    
            // Mutate original backing array; clone should remain based on previous snapshot
            data[0] = 99;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. docs/en/docs/contributing.md

    # Development - Contributing
    
    First, you might want to see the basic ways to [help FastAPI and get help](help-fastapi.md){.internal-link target=_blank}.
    
    ## Developing
    
    If you already cloned the <a href="https://github.com/fastapi/fastapi" class="external-link" target="_blank">fastapi repository</a> and you want to deep dive in the code, here are some guidelines to set up your environment.
    
    ### Virtual environment
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Jul 26 11:35:42 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

    import org.jspecify.annotations.Nullable;
    import org.junit.Ignore;
    
    /**
     * Base class for map testers.
     *
     * <p>TODO: see how much of this is actually needed once Map testers are written. (It was cloned
     * from AbstractCollectionTester.)
     *
     * @param <K> the key type of the map to be tested.
     * @param <V> the value type of the map to be tested.
     * @author George van den Driessche
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

    import org.jspecify.annotations.Nullable;
    import org.junit.Ignore;
    
    /**
     * Base class for map testers.
     *
     * <p>TODO: see how much of this is actually needed once Map testers are written. (It was cloned
     * from AbstractCollectionTester.)
     *
     * @param <K> the key type of the map to be tested.
     * @param <V> the value type of the map to be tested.
     * @author George van den Driessche
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. cmd/metacache-entries.go

    func (m metaCacheEntries) isSorted() bool {
    	return sort.SliceIsSorted(m, m.less)
    }
    
    // shallowClone will create a shallow clone of the array objects,
    // but object metadata will not be cloned.
    func (m metaCacheEntries) shallowClone() metaCacheEntries {
    	dst := make(metaCacheEntries, len(m))
    	copy(dst, m)
    	return dst
    }
    
    type metadataResolutionParams struct {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. cmd/object-api-datatypes.go

    		if err != nil {
    			encLogIf(GlobalContext, err)
    			return nil
    		}
    		data = decrypted
    	}
    	return data
    }
    
    // Clone - Returns a cloned copy of current objectInfo
    func (o *ObjectInfo) Clone() (cinfo ObjectInfo) {
    	cinfo = ObjectInfo{
    		Bucket:                     o.Bucket,
    		Name:                       o.Name,
    		ModTime:                    o.ModTime,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  8. tests/hooks_test.go

    	}
    
    	var resultClone Product2
    	if err := DB.First(&resultClone, "name = ?", "Nice_clone").Error; err != nil {
    		t.Fatalf("Failed to find cloned product, got error: %v", err)
    	}
    
    	result.Price *= 2
    	result.Name += "_clone"
    	AssertObjEqual(t, result, resultClone, "Price", "Name")
    
    	DB.Model(&result).Update("Price", 500)
    	var result2 Product2
    	DB.First(&result2, "name = ?", "Nice")
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Joiner.java

              case 0:
                return first;
              case 1:
                return second;
              default:
                return rest[index - 2];
            }
          }
        };
      }
    
      // cloned from ImmutableCollection
      private static int expandedCapacity(int oldCapacity, int minCapacity) {
        if (minCapacity < 0) {
          throw new IllegalArgumentException("cannot store more than Integer.MAX_VALUE elements");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/bigger-applications.md

    This is because we want to include their *path operations* in the OpenAPI schema and the user interfaces.
    
    As we cannot just isolate them and "mount" them independently of the rest, the *path operations* are "cloned" (re-created), not included directly.
    
    ///
    
    ## Check the automatic API docs { #check-the-automatic-api-docs }
    
    Now, run your app:
    
    <div class="termy">
    
    ```console
    $ fastapi dev app/main.py
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
Back to top