Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 1,016 for simpler (0.06 seconds)

  1. internal/once/init.go

    // Inspired from Golang sync.Once but it is only marked
    // initialized when the provided function returns nil.
    
    // Init represents the structure.
    type Init struct {
    	done uint32
    	m    sync.Mutex
    }
    
    // Do is similar to sync.Once.Do - makes one successful
    // call to the function. ie, it invokes the function
    // if it is not successful yet.
    func (l *Init) Do(f func() error) error {
    	if atomic.LoadUint32(&l.done) == 0 {
    		return l.do(f)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 09 04:20:31 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableList.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link ImmutableList} backed by a simple array.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class RegularImmutableList<E> extends ImmutableList<E> {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/UnresolvedArtifacts.java

     */
    package org.apache.maven.artifact.resolver;
    
    import java.util.List;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    
    /**
     * A simple recording of the Artifacts that could not be resolved for a given resolution request, along with
     * the remote repositories where attempts were made to resolve the artifacts.
     *
     */
    @Deprecated
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt

     * limitations under the License.
     */
    package okhttp3.internal.tls
    
    import java.security.cert.X509Certificate
    import javax.security.auth.x500.X500Principal
    
    /** A simple index that of trusted root certificates that have been loaded into memory. */
    class BasicTrustRootIndex(
      vararg caCerts: X509Certificate,
    ) : TrustRootIndex {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

                    + "    <loc>http://www.example.com/sample.html</loc>\n" + "    <image:image>\n"
                    + "      <image:loc>http://www.example.com/image.jpg</image:loc>\n"
                    + "      <image:caption>Sample image caption</image:caption>\n" + "      <image:title>Sample image title</image:title>\n"
                    + "      <image:geo_location>Tokyo, Japan</image:geo_location>\n"
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 36.7K bytes
    - Click Count (0)
  6. docs/pt/docs/advanced/testing-dependencies.md

    ### Utilize o atributo `app.dependency_overrides` { #use-the-app-dependency-overrides-attribute }
    
    Para estes casos, a sua aplicação **FastAPI** possui o atributo `app.dependency_overrides`. Ele é um simples `dict`.
    
    Para sobrepor a dependência para os testes, você coloca como chave a dependência original (a função), e como valor, a sua sobreposição da dependência (outra função).
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/impl/MavenSimpleConfiguration.java

    import org.apache.maven.slf4j.MavenLoggerFactory;
    import org.slf4j.ILoggerFactory;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Configuration for slf4j-simple.
     *
     * @since 3.1.0
     */
    public class MavenSimpleConfiguration extends BaseSlf4jConfiguration {
        private static final Logger LOGGER = LoggerFactory.getLogger(MavenSimpleConfiguration.class);
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Oct 08 21:10:33 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java

          return (T) in.readObject();
        } catch (IOException | ClassNotFoundException e) {
          throw new AssertionError(e);
        }
      }
    
      @Override
      public SampleElements<E> samples() {
        return delegate.samples();
      }
    
      @Override
      public E[] createArray(int length) {
        return delegate.createArray(length);
      }
    
      @Override
      public Iterable<E> order(List<E> insertionOrder) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jun 11 16:13:05 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

         */
        public boolean encloses(ArtifactScopeEnum scope) {
            final ArtifactScopeEnum s = checkScope(scope);
    
            // system scope is historic only - and simple
            if (id == system.id) {
                return scope.id == system.id;
            }
    
            for (ArtifactScopeEnum[][] set : COMPLIANCY_SETS) {
                if (id == set[0][0].id) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        private ReserializedSetGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) {
          this.gen = gen;
        }
    
        @Override
        public SampleElements<E> samples() {
          return gen.samples();
        }
    
        @Override
        public Set<E> create(Object... elements) {
          return (Set<E>) SerializableTester.reserialize(gen.create(elements));
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 4.7K bytes
    - Click Count (0)
Back to Top