Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 2,206 for only2 (0.02 seconds)

  1. internal/once/singleton.go

    func (s *Singleton[T]) IsSet() bool {
    	select {
    	case <-s.set:
    		return true
    	default:
    		return false
    	}
    }
    
    // Set the value and unblock all Get requests.
    // This may only be called once, a second call will panic.
    func (s *Singleton[T]) Set(v *T) {
    	s.v = v
    	close(s.set)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 15 12:04:40 GMT 2024
    - 952 bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/net/InternetDomainName.java

          return false;
        }
    
        /*
         * GWT claims to support java.lang.Character's char-classification methods, but it actually only
         * works for ASCII. So for now, assume any non-ASCII characters are valid. The only place this
         * seems to be documented is here:
         * https://groups.google.com/d/topic/google-web-toolkit-contributors/1UEzsryq1XI
         *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 27.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/io/CharSource.java

      }
    
      /**
       * Opens a new {@link Stream} for reading text one line at a time from this source. This method
       * returns a new, independent stream each time it is called.
       *
       * <p>The returned stream is lazy and only reads from the source in the terminal operation. If an
       * I/O error occurs while the stream is reading from the source or when the stream is closed, an
       * {@link UncheckedIOException} is thrown.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

                <title><classname>SomeType</classname> <literal>readOnlyProperty</literal> (read-only)</title>
                <para>comment</para>
            </section>
            <section id="writeOnlyProperty" role="detail">
                <title><classname>SomeType</classname> <literal>writeOnlyProperty</literal> (write-only)</title>
                <para>comment</para>
            </section>
        </section>''')
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 40.8K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/reflect/TypeResolver.java

              // There is no contract one way or another as long as isSubtypeOf() works as expected.
              combined.addAll(asList(typeParam.getBounds()));
              if (combined.size() > 1) { // Object is implicit and only useful if it's the only bound.
                combined.remove(Object.class);
              }
              return super.captureAsTypeVariable(combined.toArray(new Type[0]));
            }
          };
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  7. guava/src/com/google/common/primitives/ImmutableIntArray.java

       *
       * @since 22.0 (but only since 33.4.0 in the Android flavor)
       */
      public void forEach(IntConsumer consumer) {
        checkNotNull(consumer);
        for (int i = start; i < end; i++) {
          consumer.accept(array[i]);
        }
      }
    
      /**
       * Returns a stream over the values in this array, in order.
       *
       * @since 22.0 (but only since 33.4.0 in the Android flavor)
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     * multi-level dependency graph to a map of ordered lists that can be turned into classpaths.
     * During this process only the most relevant version of each artifact
     * (based on group ID and artifact ID) is retained, resolving conflicts and eliminating duplicates to ensure
     * that each dependency is included only once in the final build.</p>
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  9. cmd/metrics-v3-types.go

    				prometheus.MustNewConstMetric(promDesc, desc.Type.toProm(), v.Value,
    					labelValues...))
    		}
    	}
    	return metrics
    }
    
    // Set - sets a metric value along with any provided labels. It is used only
    // with Gauge and Counter metrics.
    //
    // If the MetricName given here is not present in the `MetricsGroup`'s
    // descriptors, this function panics.
    //
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Feb 28 19:33:08 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/escape/CharEscaper.java

       */
      @Override
      public String escape(String string) {
        checkNotNull(string); // GWT specific check (do not optimize)
        // Inlineable fast-path loop which hands off to escapeSlow() only if needed
        int length = string.length();
        for (int index = 0; index < length; index++) {
          if (escape(string.charAt(index)) != null) {
            return escapeSlow(string, index);
          }
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 6.7K bytes
    - Click Count (0)
Back to Top