Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 121 for diffCh (0.05 seconds)

  1. cmd/admin-bucket-handlers.go

    	keepAliveTicker := time.NewTicker(500 * time.Millisecond)
    	defer keepAliveTicker.Stop()
    
    	diffCh, err := getReplicationDiff(ctx, objectAPI, bucket, opts)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	enc := json.NewEncoder(w)
    	for {
    		select {
    		case entry, ok := <-diffCh:
    			if !ok {
    				return
    			}
    			if err := enc.Encode(entry); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 33.3K bytes
    - Click Count (0)
  2. cmd/bucket-replication.go

    		replLogIf(ctx, err)
    		return nil, err
    	}
    	rcfg := replicationConfig{
    		Config:  cfg,
    		remotes: tgts,
    	}
    	diffCh := make(chan madmin.DiffInfo, 4000)
    	go func() {
    		defer xioutil.SafeClose(diffCh)
    		for res := range objInfoCh {
    			if res.Err != nil {
    				diffCh <- madmin.DiffInfo{Err: res.Err}
    				return
    			}
    			if contextCanceled(ctx) {
    				// Just consume input...
    				continue
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/MapsTest.java

        MapDifference<Integer, Integer> diff = Maps.difference(EMPTY, EMPTY);
        assertTrue(diff.areEqual());
        assertEquals(EMPTY, diff.entriesOnlyOnLeft());
        assertEquals(EMPTY, diff.entriesOnlyOnRight());
        assertEquals(EMPTY, diff.entriesInCommon());
        assertEquals(EMPTY, diff.entriesDiffering());
        assertEquals("equal", diff.toString());
      }
    
      public void testMapDifferenceEmptySingleton() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 62.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/MapsTest.java

        MapDifference<Integer, Integer> diff = Maps.difference(EMPTY, EMPTY);
        assertTrue(diff.areEqual());
        assertEquals(EMPTY, diff.entriesOnlyOnLeft());
        assertEquals(EMPTY, diff.entriesOnlyOnRight());
        assertEquals(EMPTY, diff.entriesInCommon());
        assertEquals(EMPTY, diff.entriesDiffering());
        assertEquals("equal", diff.toString());
      }
    
      public void testMapDifferenceEmptySingleton() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 65K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

              if ((hash1 & (1 << k)) == (hash2 & (1 << k))) {
                same[k] += 1;
              } else {
                diff[k] += 1;
              }
            }
          }
          // measure probability and assert it's within margin of error
          for (int j = 0; j < hashBits; j++) {
            double prob = (double) diff[j] / (double) (diff[j] + same[j]);
            assertThat(prob).isWithin(epsilon).of(0.50d);
          }
        }
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/hash/HashTestUtils.java

              if ((hash1 & (1 << k)) == (hash2 & (1 << k))) {
                same[k] += 1;
              } else {
                diff[k] += 1;
              }
            }
          }
          // measure probability and assert it's within margin of error
          for (int j = 0; j < hashBits; j++) {
            double prob = (double) diff[j] / (double) (diff[j] + same[j]);
            assertThat(prob).isWithin(epsilon).of(0.50d);
          }
        }
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  7. .github/workflows/pre-commit.yml

            continue-on-error: true
          - name: Commit and push changes
            if: env.HAS_SECRETS == 'true'
            run: |
              git config user.name "github-actions[bot]"
              git config user.email "github-actions[bot]@users.noreply.github.com"
              git add -A
              if git diff --staged --quiet; then
                echo "No changes to commit"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 23 11:17:16 GMT 2025
    - 3K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

      }
    
      // Node sets are the same, but edge sets differ.
      @Test
      public void equivalent_edgeSetsDiffer() {
        network.addEdge(N1, N2, E12);
    
        MutableNetwork<Integer, String> g2 = createNetwork(edgeType);
        g2.addEdge(N1, N2, E13);
    
        assertThat(network).isNotEqualTo(g2);
      }
    
      // Node/edge sets are the same, but node/edge connections differ due to edge type.
      @Test
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

      }
    
      // Node sets are the same, but edge sets differ.
      @Test
      public void equivalent_edgeSetsDiffer() {
        network.addEdge(N1, N2, E12);
    
        MutableNetwork<Integer, String> g2 = createNetwork(edgeType);
        g2.addEdge(N1, N2, E13);
    
        assertThat(network).isNotEqualTo(g2);
      }
    
      // Node/edge sets are the same, but node/edge connections differ due to edge type.
      @Test
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  10. .github/ISSUE_TEMPLATE/11-language-change.yml

        id: error-handling-proposal
        attributes:
          label: Does this affect error handling?
          description: If so, how does this differ from previous error handling proposals?
          placeholder: |
           Yes or No
    
           If yes, 
            1.how does this differ from previous error handling proposals?
    
        validations:
          required: true
    
      - type: textarea
        id: generics-proposal
        attributes:
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Aug 08 19:02:29 GMT 2024
    - 4.7K bytes
    - Click Count (0)
Back to Top