Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 693 for APPLY (0.03 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java

                    v = cb.apply(s.substring(prefix.length()));
                }
                return v;
            };
        }
    
        @SafeVarargs
        @Nonnull
        public static Function<String, String> or(Function<String, String>... callbacks) {
            return s -> {
                for (Function<String, String> cb : callbacks) {
                    String r = cb.apply(s);
                    if (r != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt

            "osgi.identity;filter:='(osgi.identity=$it)'"
          }
    
        val bndEditModel =
          BndEditModel(workspace).apply {
            // Temporary project to satisfy bnd API.
            project = Project(workspace, workspaceDir.toFile())
          }
    
        return Bndrun(bndEditModel).apply {
          setRunfw(RESOLVE_OSGI_FRAMEWORK)
          runee = RESOLVE_JAVA_VERSION
          setRunRequires(runRequireString)
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.ci-reporting.gradle.kts

     * Team City.
     */
    
    val testFilesCleanup = extensions.create<TestFileCleanUpExtension>("testFilesCleanup").apply {
        reportOnly.convention(false)
    }
    
    if ("CI" in System.getenv() && project.name != "gradle-kotlin-dsl-accessors") {
        rootProject.plugins.apply(TestFilesCleanupRootPlugin::class.java)
        val globalExtension = rootProject.extensions.getByType<TestFilesCleanupBuildServiceRootExtension>()
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

      public boolean containsKey(@CheckForNull Object key) {
        if (unfiltered.containsKey(key)) {
          @SuppressWarnings("unchecked") // k is equal to a K, if not one itself
          K k = (K) key;
          return keyPredicate.apply(k);
        }
        return false;
      }
    
      @Override
      public Collection<V> removeAll(@CheckForNull Object key) {
        return containsKey(key) ? unfiltered.removeAll(key) : unmodifiableEmptyCollection();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

          val trustManager =
            TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm()).apply {
              init(null as KeyStore?)
            }.trustManagers.first() as X509TrustManager
    
          val sslContext =
            Platform.get().newSSLContext().apply {
              // TODO remove most of this code after https://github.com/bcgit/bc-java/issues/686
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/FormBody.kt

          private val names = mutableListOf<String>()
          private val values = mutableListOf<String>()
    
          fun add(
            name: String,
            value: String,
          ) = apply {
            names +=
              name.canonicalizeWithCharset(
                encodeSet = FORM_ENCODE_SET,
                // Plus is encoded as `%2B`, space is encoded as plus.
                plusIsSpace = false,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. gorm.go

    	for _, opt := range opts {
    		if opt != nil {
    			if applyErr := opt.Apply(config); applyErr != nil {
    				return nil, applyErr
    			}
    			defer func(opt Option) {
    				if errr := opt.AfterInitialize(db); errr != nil {
    					err = errr
    				}
    			}(opt)
    		}
    	}
    
    	if d, ok := dialector.(interface{ Apply(*Config) error }); ok {
    		if err = d.Apply(config); err != nil {
    			return
    		}
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Collections2.java

        @Override
        public boolean add(@ParametricNullness E element) {
          checkArgument(predicate.apply(element));
          return unfiltered.add(element);
        }
    
        @Override
        public boolean addAll(Collection<? extends E> collection) {
          for (E element : collection) {
            checkArgument(predicate.apply(element));
          }
          return unfiltered.addAll(collection);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

        return predicate.apply(immutableEntry(key, value));
      }
    
      final class ValuePredicate implements Predicate<V> {
        @ParametricNullness private final K key;
    
        ValuePredicate(@ParametricNullness K key) {
          this.key = key;
        }
    
        @Override
        public boolean apply(@ParametricNullness V value) {
          return satisfies(key, value);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                            Object key = getPluginKey().apply(plugin);
    
                            master.put(key, plugin);
                        }
                    }
    
                    Map<Object, List<Plugin>> predecessors = new LinkedHashMap<>();
                    List<Plugin> pending = new ArrayList<>();
                    for (Plugin element : tgt) {
                        Object key = getPluginKey().apply(element);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top