Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1561 - 1570 of 2,551 for Fset (0.03 sec)

  1. guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

        final AtomicInteger deliveries = new AtomicInteger();
        EventBus bus = new EventBus();
        bus.register(
            new Object() {
              @Subscribe
              public void accept(String str) {
                holder.set(str);
                deliveries.incrementAndGet();
              }
            });
    
        String EVENT = "Hello!";
        bus.post(EVENT);
    
        assertEquals("Only one event should be delivered.", 1, deliveries.get());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/SortedIterables.java

        } else {
          return false;
        }
        return comparator.equals(comparator2);
      }
    
      @SuppressWarnings("unchecked")
      // if sortedSet.comparator() is null, the set must be naturally ordered
      public static <E extends @Nullable Object> Comparator<? super E> comparator(
          SortedSet<E> sortedSet) {
        Comparator<? super E> result = sortedSet.comparator();
        if (result == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 30 10:33:07 UTC 2021
    - 2K bytes
    - Viewed (0)
  3. ci/official/utilities/cleanup_summary.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ==============================================================================
    
    set -euxo pipefail
    
    function resultstore_extract_fallback {
      # In case the main script fails somehow.
      cat <<EOF
    IMPORTANT: For bazel invocations that uploaded to ResultStore (e.g. RBE), you
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Aug 07 23:01:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. guava-gwt/src/com/google/thirdparty/publicsuffix/PublicSuffixType.gwt.xml

    <module>
    <source path="">
      <!-- Hack to keep collect from hiding collect.testing supersource: -->
      <exclude name="**/testing/**"/>
    </source>
    
    <!--
        We used to set this only for packages that had manual supersource. That
        worked everywhere that I know of except for one place: when running the GWT
        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
        Java package; see
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. util/gradle_integration_tests.sh

    #!/bin/bash
    
    set -eu
    
    ./mvnw clean install --projects '!guava-testlib,!guava-tests,!guava-bom,!guava-gwt' -Dmaven.test.skip=true -Dmaven.javadoc.skip=true
    ./mvnw clean install --projects '!guava-testlib,!guava-tests,!guava-bom' -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -f android
    
    # Gradle Wrapper overwrites some files when it runs.
    # To avoid modifying the Git client, we copy everything we need to another directory.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 16 20:48:20 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Count.java

      }
    
      public int get() {
        return value;
      }
    
      public void add(int delta) {
        value += delta;
      }
    
      public int addAndGet(int delta) {
        return value += delta;
      }
    
      public void set(int newValue) {
        value = newValue;
      }
    
      public int getAndSet(int newValue) {
        int result = value;
        value = newValue;
        return result;
      }
    
      @Override
      public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  7. cni/pkg/repair/repair.go

    	}
    
    	rc, err := NewRepairController(client, cfg)
    	if err != nil {
    		repairLog.Fatalf("Fatal error constructing repair controller: %+v", err)
    	}
    	go rc.Run(ctx.Done())
    	client.RunAndWait(ctx.Done())
    }
    
    // Set up Kubernetes client using kubeconfig (or in-cluster config if no file provided)
    func clientSetup() (kube.Client, error) {
    	config, err := kube.DefaultRestConfig("", "")
    	if err != nil {
    		return nil, err
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 19:12:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. tests/named_argument_test.go

    		t.Errorf("failed to update with named arg")
    	}
    
    	AssertEqual(t, result4, namedUser)
    
    	if err := DB.Exec("UPDATE named_users SET name1 = @name, name2 = @name2, name3 = @name", sql.Named("name", "jinzhu-new"), sql.Named("name2", "jinzhu-new2")).Error; err != nil {
    		t.Errorf("failed to update with named arg")
    	}
    
    	namedUser.Name1 = "jinzhu-new"
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Dec 21 11:50:00 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  9. docs/iam/policies/pbac-tests.sh

    #!/bin/bash
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    pkill minio
    pkill kes
    rm -rf /tmp/xl
    
    go install -v github.com/minio/mc@master
    cp -a $(go env GOPATH)/bin/mc ./mc
    
    if [ ! -f ./kes ]; then
    	wget --quiet -O kes https://github.com/minio/kes/releases/latest/download/kes-linux-amd64 &&
    		chmod +x kes
    fi
    
    if ! openssl version &>/dev/null; then
    	apt install openssl || sudo apt install opensssl
    fi
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 25 01:15:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. internal/config/drive/drive.go

    	cfg = Config{
    		MaxTimeout: 30 * time.Second,
    	}
    	if err = config.CheckValidKeys(config.DriveSubSys, kvs, DefaultKVS); err != nil {
    		return cfg, err
    	}
    
    	// if not set. Get default value from environment
    	d := env.Get(EnvMaxDriveTimeout, env.Get(EnvMaxDriveTimeoutLegacy, env.Get(EnvMaxDiskTimeoutLegacy, kvs.GetWithDefault(MaxTimeout, DefaultKVS))))
    	if d == "" {
    		cfg.MaxTimeout = 30 * time.Second
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top