Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 253 for cloneOf (0.1 sec)

  1. 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)
  2. 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)
  3. internal/config/lambda/event/targetidset_test.go

    		{NewTargetIDSet(TargetID{"1", "webhook"}, TargetID{"2", "amqp"}), TargetID{"2", "webhook"}},
    	}
    
    	for i, testCase := range testCases {
    		result := testCase.set.Clone()
    
    		if !reflect.DeepEqual(result, testCase.set) {
    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.set, result)
    		}
    
    		result.add(testCase.targetIDToAdd)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. internal/event/targetidset_test.go

    		{NewTargetIDSet(TargetID{"1", "webhook"}, TargetID{"2", "amqp"}), TargetID{"2", "webhook"}},
    	}
    
    	for i, testCase := range testCases {
    		result := testCase.set.Clone()
    
    		if !reflect.DeepEqual(result, testCase.set) {
    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.set, result)
    		}
    
    		result.add(testCase.targetIDToAdd)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  5. cmd/event-notification.go

    }
    
    // AddRulesMap - adds rules map for bucket name.
    func (evnot *EventNotifier) AddRulesMap(bucketName string, rulesMap event.RulesMap) {
    	evnot.Lock()
    	defer evnot.Unlock()
    
    	rulesMap = rulesMap.Clone()
    
    	// Do not add for an empty rulesMap.
    	if len(rulesMap) == 0 {
    		delete(evnot.bucketRulesMap, bucketName)
    	} else {
    		evnot.bucketRulesMap[bucketName] = rulesMap
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

       * the internal list.
       */
      @JvmStatic
      fun fragmentBuffer(buffer: Buffer): Buffer {
        // Write each byte into a new buffer, then clone it so that the segments are shared.
        // Shared segments cannot be compacted so we'll get a long chain of short segments.
        val result = Buffer()
        while (!buffer.exhausted()) {
          val box = Buffer()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/Kerb5Authenticator.java

        }
    
    
        @Override
        public Kerb5Authenticator clone () {
            Kerb5Authenticator auth = new Kerb5Authenticator(getSubject());
            cloneInternal(auth, this);
            return auth;
        }
    
    
        /**
         * Clone the context
         * 
         * @param to
         * @param from
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13K bytes
    - Viewed (0)
  8. cmd/fmt-gen.go

    		format := newFormatErasureV3(setCount, setDriveCount)
    		format.ID = deploymentID
    		for i := 0; i < setCount; i++ { // for each erasure set
    			for j := 0; j < setDriveCount; j++ {
    				newFormat := format.Clone()
    				newFormat.Erasure.This = format.Erasure.Sets[i][j]
    				if deploymentID != "" {
    					newFormat.ID = deploymentID
    				}
    				drive := pool.Endpoints[i*setDriveCount+j]
    				fmtBytes, err := json.Marshal(newFormat)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        }
    
        XmlNode merge(@Nullable XmlNode source, @Nullable Boolean childMergeOverride);
    
        /**
         * Merge recessive into dominant and return either {@code dominant}
         * with merged information or a clone of {@code recessive} if
         * {@code dominant} is {@code null}.
         *
         * @param dominant the node
         * @param recessive if {@code null}, nothing will happen
         * @return the merged node
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Nov 27 23:11:34 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. docs/hotfixes.md

    ## Backporting a fix
    
    Developer is advised to clone the MinIO source and checkout the MinIO release tag customer is currently on.
    
    ```
    λ git checkout RELEASE.2021-04-22T15-44-28Z
    ```
    
    Create a branch and proceed to push the branch **upstream**
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 14 21:36:02 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top