- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 788 for _clone (0.09 sec)
-
internal/config/lambda/event/targetidset.go
type TargetIDSet map[TargetID]struct{} // IsEmpty returns true if the set is empty. func (set TargetIDSet) IsEmpty() bool { return len(set) != 0 } // Clone - returns copy of this set. func (set TargetIDSet) Clone() TargetIDSet { setCopy := NewTargetIDSet() for k, v := range set { setCopy[k] = v } return setCopy } // add - adds TargetID to the set.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 1.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/SuperPomProvider.java
/** * Gets the super POM for the specified model version. The returned model is supposed to be read-only, i.e. if the * caller intends to make updates to the model the return value must be cloned before updating to ensure the * modifications don't affect future retrievals of the super POM. * * @param version The model version to retrieve the super POM for (e.g. "4.0.0"), must not be {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
internal/event/rulesmap_test.go
}{ {rulesMapCase1, rulesMapToAddCase1}, {rulesMapCase2, rulesMapToAddCase2}, {rulesMapCase3, rulesMapToAddCase3}, } for i, testCase := range testCases { result := testCase.rulesMap.Clone() if !reflect.DeepEqual(result, testCase.rulesMap) { t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.rulesMap, result) } result.Add(testCase.rulesMapToAdd)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jan 05 18:43:06 UTC 2024 - 6.8K bytes - Viewed (0) -
mockwebserver/api/mockwebserver3.api
public final fun chunkedBody (Lokio/Buffer;I)Lmockwebserver3/MockResponse$Builder; public final fun clearHeaders ()Lmockwebserver3/MockResponse$Builder; public synthetic fun clone ()Ljava/lang/Object; public fun clone ()Lmockwebserver3/MockResponse$Builder; public final fun code (I)Lmockwebserver3/MockResponse$Builder; public final fun getBody ()Lmockwebserver3/MockResponseBody; public final fun getCode ()I
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 03 21:59:45 UTC 2023 - 12.7K bytes - Viewed (0) -
buildscripts/verify-build.sh
rm -rf "$1" } function __init__() { echo "Initializing environment" mkdir -p "$WORK_DIR" mkdir -p "$MINIO_CONFIG_DIR" mkdir -p "$MINT_DATA_DIR" MC_BUILD_DIR="mc-$RANDOM" if ! git clone --quiet https://github.com/minio/mc "$MC_BUILD_DIR"; then echo "failed to download https://github.com/minio/mc" purge "${MC_BUILD_DIR}" exit 1 fi (cd "${MC_BUILD_DIR}" && go build -o "${WORK_DIR}/mc")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 19:28:51 UTC 2024 - 6.7K bytes - Viewed (0) -
internal/http/server.go
} srv.listenerMutex.Unlock() if atomic.AddUint32(&srv.inShutdown, 1) > 1 { // shutdown in progress return http.ErrServerClosed } // Close underneath HTTP listener. srv.listenerMutex.Lock() err := srv.listener.Close() srv.listenerMutex.Unlock() if err != nil { return err } // Wait for opened connection to be closed up to Shutdown timeout. return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 18:42:47 UTC 2024 - 6.1K bytes - Viewed (0) -
bin/update_crds.sh
fi fi if [ -z "${SHA}" ]; then fail "Unable to retrieve the commit SHA of istio/api from go.mod file. Not updating the CRD file. Please make sure istio/api exists in the Go module."; fi git clone --filter=tree:0 "https://${REPO}" "${API_TMP}" && cd "${API_TMP}" git checkout "${SHA}" if [ ! -f "${API_TMP}/kubernetes/customresourcedefinitions.gen.yaml" ]; then
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 01 20:23:30 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
decrypt = output; return decrypt; } private static byte[] getHmac ( byte[] data, byte[] key ) throws GeneralSecurityException { Key macKey = new SecretKeySpec(key.clone(), KerberosConstants.HMAC_ALGORITHM); Mac mac = Mac.getInstance(KerberosConstants.HMAC_ALGORITHM); mac.init(macKey); return mac.doFinal(data); } public String getUserRealm () {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 11.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ModelInterpolator.java
public interface ModelInterpolator { /** * Interpolates expressions in the specified model. Note that implementations are free to either interpolate the * provided model directly or to create a clone of the model and interpolate the clone. Callers should always use * the returned model and must not rely on the input model being updated. * * @param model The model to interpolate, must not be {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java
int tmp = 0; for (int i = 0; i < reps; i++) { Integer[] copy = inputArrays[i & 0xFF].clone(); sort(copy); tmp += copy[0]; } return tmp; } @Benchmark int arraysSortOrderingNatural(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { Integer[] copy = inputArrays[i & 0xFF].clone(); sort(copy, Ordering.natural()); tmp += copy[0]; } return tmp; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.5K bytes - Viewed (0)