Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for setB (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        SortedSet<String> set = of("a", "b", "c");
        assertEquals(set, Sets.newTreeSet(asList("a", "b", "c")));
        assertEquals(Sets.newTreeSet(asList("a", "b", "c")), set);
        assertFalse(set.equals(Sets.newTreeSet(asList("a", "b", "d"))));
        assertFalse(Sets.newTreeSet(asList("a", "b", "d")).equals(set));
        assertFalse(set.equals(Sets.newHashSet(4, 5, 6)));
        assertFalse(Sets.newHashSet(4, 5, 6).equals(set));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  2. pkg/util/smallset/smallset_test.go

    		items2 = append(items2, fmt.Sprint(i))
    	}
    	b.Run("Set", func(b *testing.B) {
    		set1000 := sets.New(items1000...)
    		set100 := sets.New(items100...)
    		set2 := sets.New(items2...)
    		b.Run("New/1", func(b *testing.B) {
    			for range b.N {
    				_ = sets.New("a")
    			}
    		})
    		b.Run("New/1000", func(b *testing.B) {
    			for range b.N {
    				_ = sets.New(items1000...)
    			}
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. pkg/controller/statefulset/stateful_set_control_test.go

    			set := newStatefulSet(3)
    			set.Spec.PersistentVolumeClaimRetentionPolicy = policy
    			set.Status.CollisionCount = new(int32)
    			rev0 := newRevisionOrDie(set, 1)
    			set1 := set.DeepCopy()
    			set1.Spec.Template.Spec.Containers[0].Image = "foo"
    			set1.Status.CurrentRevision = rev0.Name
    			set1.Status.CollisionCount = new(int32)
    			rev1 := newRevisionOrDie(set1, 2)
    			set2 := set1.DeepCopy()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  4. src/go/types/example_test.go

    	fmt.Printf("Method set of %s:\n", styp)
    	fmt.Println(types.NewMethodSet(styp))
    
    	// Output:
    	// Method set of temperature.Celsius:
    	// method (temperature.Celsius) String() string
    	//
    	// Method set of *temperature.Celsius:
    	// method (*temperature.Celsius) SetF(f float64)
    	// method (*temperature.Celsius) String() string
    	//
    	// Method set of temperature.S:
    	// MethodSet {}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/ppc64/asm9.go

    		// Sign extend MOVB operations. This is ignored for other cases (o.size == 4).
    		o2 = LOP_RRR(OP_EXTSB, uint32(p.To.Reg), uint32(p.To.Reg), 0)
    
    	case 110: /* SETB creg, rt */
    		bfa := uint32(p.From.Reg) << 2
    		rt := uint32(p.To.Reg)
    		o1 = LOP_RRR(OP_SETB, bfa, rt, 0)
    	}
    
    	out[0] = o1
    	out[1] = o2
    	out[2] = o3
    	out[3] = o4
    	out[4] = o5
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  6. cmd/metrics-v3-cluster-erasure-set.go

    		labels := []string{poolIDL, poolLV, setIDL, setLV}
    		m.Set(erasureSetReadQuorum, float64(h.ReadQuorum), labels...)
    		m.Set(erasureSetWriteQuorum, float64(h.WriteQuorum), labels...)
    		m.Set(erasureSetOnlineDrivesCount, float64(h.HealthyDrives), labels...)
    		m.Set(erasureSetHealingDrivesCount, float64(h.HealingDrives), labels...)
    		m.Set(erasureSetHealth, b2f(h.Healthy), labels...)
    
    		readHealthy := true
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 14 07:25:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. buildscripts/verify-healing-empty-erasure-set.sh

    #!/bin/bash -e
    #
    
    set -E
    set -o pipefail
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    WORK_DIR="$PWD/.verify-$RANDOM"
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    
    function start_minio_3_node() {
    	export MINIO_ROOT_USER=minio
    	export MINIO_ROOT_PASSWORD=minio123
    	export MINIO_ERASURE_SET_DRIVE_COUNT=6
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:48:50 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. src/runtime/signal_unix.go

    // for the thread (the normal case) then set the alternate signal
    // stack to the gsignal stack. If the alternate signal stack is set
    // for the thread (the case when a non-Go thread sets the alternate
    // signal stack and then calls a Go function) then set the gsignal
    // stack to the alternate signal stack. We also set the alternate
    // signal stack to the gsignal stack if cgo is not used (regardless
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  9. pkg/controller/statefulset/stateful_set_utils_test.go

    func TestGetClaimPodName(t *testing.T) {
    	set := apps.StatefulSet{}
    	set.Name = "my-set"
    	claim := v1.PersistentVolumeClaim{}
    	claim.Name = "volume-my-set-2"
    	if pod := getClaimPodName(&set, &claim); pod != "my-set-2" {
    		t.Errorf("Expected my-set-2 found %s", pod)
    	}
    	claim.Name = "long-volume-my-set-20"
    	if pod := getClaimPodName(&set, &claim); pod != "my-set-20" {
    		t.Errorf("Expected my-set-20 found %s", pod)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-decom.go

    	workerSize, err := env.GetInt(envDecomWorkers, len(pool.sets))
    	if err != nil {
    		decomLogIf(ctx, fmt.Errorf("invalid workers value err: %v, defaulting to %d", err, len(pool.sets)))
    		workerSize = len(pool.sets)
    	}
    
    	// Each decom worker needs one List() goroutine/worker
    	// add that many extra workers.
    	workerSize += len(pool.sets)
    
    	wk, err := workers.New(workerSize)
    	if err != nil {
    		return err
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 14:30:43 UTC 2024
    - 41.5K bytes
    - Viewed (1)
Back to top