Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 228 for cloneOf (0.05 sec)

  1. src/bytes/bytes_test.go

    	var cloneTests = [][]byte{
    		[]byte(nil),
    		[]byte{},
    		Clone([]byte{}),
    		[]byte(strings.Repeat("a", 42))[:0],
    		[]byte(strings.Repeat("a", 42))[:0:0],
    		[]byte("short"),
    		[]byte(strings.Repeat("a", 42)),
    	}
    	for _, input := range cloneTests {
    		clone := Clone(input)
    		if !Equal(clone, input) {
    			t.Errorf("Clone(%q) = %q; want %q", input, clone, input)
    		}
    
    		if input == nil && clone != nil {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  2. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java

     *
     * @author Hayward Chan
     */
    final class Platform {
      // Class.cast is not supported in GWT.
      static void checkCast(Class<?> clazz, Object obj) {}
    
      static <T> T[] clone(T[] array) {
        return (T[]) Arrays.copyOfRange(array, 0, array.length);
      }
    
      // TODO: Consolidate different copies in one single place.
      static String format(String template, Object... args) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  3. docs/pt-BR/README.md

     - [OGNL](https://github.com/codelibs/fess-script-ognl)
    
    ## Informações de Desenvolvimento
    
    ### Obter Código Fonte
    
    1. Clone o repositório do Fess:
        ```
        $ cd ~/workspace
        $ git clone https://github.com/codelibs/fess.git
        ```
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 12 07:19:47 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                final ResourceNameFilter fnf, final ResourceFilter ff) throws CIFSException {
            // clone the locator so that the address index is not modified
            final SmbResourceLocatorImpl locator = parent.fileLocator.clone();
            final CIFSContext tc = parent.getContext();
            final URL u = locator.getURL();
    
            FileEntry[] entries;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. cmd/data-scanner-metric.go

    	}
    	val := p.actionsLatency[a].total()
    	return val
    }
    
    // setCycle updates the current cycle metrics.
    func (p *scannerMetrics) setCycle(c *currentScannerCycle) {
    	if c != nil {
    		c2 := c.clone()
    		c = &c2
    	}
    	p.cycleInfoMu.Lock()
    	p.cycleInfo = c
    	p.cycleInfoMu.Unlock()
    }
    
    // getCycle returns the current cycle metrics.
    // If not nil, the returned value can safely be modified.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. cmd/site-replication-utils.go

    	TotBuckets                    int                         `json:"totbuckets" msg:"tb"`
    	TargetReplicationResyncStatus `json:"currSt" msg:"cst"`
    }
    
    func (s *SiteResyncStatus) clone() SiteResyncStatus {
    	if s == nil {
    		return SiteResyncStatus{}
    	}
    	o := *s
    	o.BucketStatuses = make(map[string]ResyncStatusType, len(s.BucketStatuses))
    	maps.Copy(o.BucketStatuses, s.BucketStatuses)
    	return o
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. mockwebserver-deprecated/api/mockwebserver.api

    	public final fun addHeaderLenient (Ljava/lang/String;Ljava/lang/Object;)Lokhttp3/mockwebserver/MockResponse;
    	public final fun clearHeaders ()Lokhttp3/mockwebserver/MockResponse;
    	public synthetic fun clone ()Ljava/lang/Object;
    	public fun clone ()Lokhttp3/mockwebserver/MockResponse;
    	public final fun getBody ()Lokio/Buffer;
    	public final fun getBodyDelay (Ljava/util/concurrent/TimeUnit;)J
    	public final fun getHeaders ()Lokhttp3/Headers;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/SecureCredentialStorage.java

            }
            if (salt == null || salt.length != SALT_SIZE) {
                throw new IllegalArgumentException("Invalid salt");
            }
    
            this.salt = salt.clone();
            this.masterKey = deriveKey(masterPassword, this.salt);
    
            // Clear the master password after use
            Arrays.fill(masterPassword, '\0');
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

            void returnsZero_forVariousIndexes(int index) {
                // Arrange
                Smb2LogoffResponse resp = newResponse();
                byte[] buffer = new byte[8];
                byte[] original = buffer.clone();
    
                // Act
                int written = resp.writeBytesWireFormat(buffer, index);
    
                // Assert
                assertEquals(0, written, "Should report 0 bytes written");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. cmd/user-provider-utils.go

    		resp.OpenIDSpecificInfo = getOpenIDInfoFromClaims(claims)
    	}
    }
    
    func getOpenIDCfgNameFromClaims(claims map[string]any) (string, bool) {
    	roleArn := claims[roleArnClaim]
    
    	s := globalServerConfig.Clone()
    	configs, err := globalIAMSys.OpenIDConfig.GetConfigList(s)
    	if err != nil {
    		return "", false
    	}
    	for _, cfg := range configs {
    		if cfg.RoleARN == roleArn {
    			return cfg.Name, true
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top