Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for New (0.15 sec)

  1. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        return new SpliteratorTester<>(
            ImmutableSet.of(() -> new GeneralSpliteratorOfObject<>(spliteratorSupplier.get())));
      }
    
      /**
       * @since 28.1
       */
      public static SpliteratorTester<Integer> ofInt(Supplier<Spliterator.OfInt> spliteratorSupplier) {
        return new SpliteratorTester<>(
            ImmutableSet.of(
                () -> new GeneralSpliteratorOfObject<>(spliteratorSupplier.get()),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  2. cmd/warm-backend-s3.go

    		return nil, errors.New("AWS Role cannot be activated with static credentials or the web identity token file")
    	case conf.Bucket == "":
    		return nil, errors.New("no bucket name was provided")
    	}
    
    	// Credentials initialization
    	var creds *credentials.Credentials
    	switch {
    	case conf.AWSRole:
    		creds = credentials.New(&credentials.IAM{
    			Client: &http.Client{
    				Transport: NewHTTPTransport(),
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

        public static List<UpgradedProperty> parse(String path) {
            File file = new File(path);
            if (!file.exists()) {
                return Collections.emptyList();
            }
            try {
                return new Gson().fromJson(new FileReader(file), new TypeToken<List<UpgradedProperty>>() {}.getType());
            } catch (FileNotFoundException e) {
                throw new UncheckedIOException(e);
            }
        }
    
        /**
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java

            }
    
            public static AccessorKey of(String containingType, String methodName, String descriptor) {
                return new AccessorKey(containingType, methodName, descriptor);
            }
    
            public static AccessorKey ofUpgradedProperty(UpgradedProperty upgradedProperty) {
                return new AccessorKey(upgradedProperty.getContainingType(), upgradedProperty.getMethodName(), upgradedProperty.getMethodDescriptor());
            }
    
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java

                String formattedLeft = CollectionUtils.join("\n", keptAccessors.keySet());
                throw new RuntimeException("The following accessors were upgraded, but didn't match any removed/changed method:\n\n" + formattedLeft);
            }
    
            // Find accessors that were removed but shouldn't be
            Map<AccessorKey, ReplacedAccessor> removedAccessors = new HashMap<>(oldAccessorsOfUpgradedProperties);
            removedAccessors.entrySet().removeIf(e -> {
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          if (!wasCancelled) {
            return new Failure(
                new IllegalArgumentException(
                    "get() threw CancellationException, despite reporting isCancelled() == false: "
                        + future,
                    cancellation));
          }
          return new Cancellation(false, cancellation);
        } catch (Exception | Error t) { // sneaky checked exception
          return new Failure(t);
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  7. cmd/warm-backend-minio.go

    	// Validation of credentials
    	if conf.AccessKey == "" || conf.SecretKey == "" {
    		return nil, errors.New("both access and secret keys are required")
    	}
    
    	if conf.Bucket == "" {
    		return nil, errors.New("no bucket name was provided")
    	}
    
    	u, err := url.Parse(conf.Endpoint)
    	if err != nil {
    		return nil, err
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

        return filterCollection(unfiltered.get(key), new ValuePredicate(key));
      }
    
      @Override
      Collection<Entry<K, V>> createEntries() {
        return filterCollection(unfiltered.entries(), predicate);
      }
    
      @Override
      Collection<V> createValues() {
        return new FilteredMultimapValues<>(this);
      }
    
      @Override
      Iterator<Entry<K, V>> entryIterator() {
        throw new AssertionError("should never be called");
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  9. cmd/server-main.go

    	// Create a new config system.
    	globalConfigSys = NewConfigSys()
    
    	// Create new IAM system.
    	globalIAMSys = NewIAMSys()
    
    	// Create new policy system.
    	globalPolicySys = NewPolicySys()
    
    	// Create new lifecycle system.
    	globalLifecycleSys = NewLifecycleSys()
    
    	// Create new bucket encryption subsystem
    	globalBucketSSEConfigSys = NewBucketSSEConfigSys()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 32.7K bytes
    - Viewed (1)
  10. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/annotations/Fe10IdeNormalAnalysisSourceModuleAnalysisApiAnnotationsOnDeclarationsTestGenerated.java

          new AnalysisApiTestConfiguratorFactoryData(
            FrontendKind.Fe10,
            TestModuleKind.Source,
            AnalysisSessionMode.Normal,
            AnalysisApiMode.Ide
          )
        );
      }
    
      @Test
      public void testAllFilesPresentInAnnotationsOnDeclaration() {
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top