Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 347 for given (0.13 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

              ;
            }
            assertBitEquals(x, aa.get(i));
            prev = x;
          }
        }
      }
    
      /** getAndSet returns previous value and sets to given value at given index */
      public void testGetAndSet() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          double prev = 0.0;
          for (double x : VALUES) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Closer.java

       * ...);} to ensure the compiler knows that it will throw.
       *
       * @return this method does not return; it always throws
       * @throws IOException when the given throwable is an IOException
       * @throws X1 when the given throwable is of the declared type X1
       * @throws X2 when the given throwable is of the declared type X2
       */
      public <X1 extends Exception, X2 extends Exception> RuntimeException rethrow(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. internal/config/identity/ldap/ldap.go

    	groups, err := l.LDAP.SearchForUserGroups(conn, username, bindDN)
    	if err != nil {
    		return "", nil, err
    	}
    
    	return bindDN, groups, nil
    }
    
    // GetValidatedDNForUsername checks if the given username exists in the LDAP directory.
    // The given username could be just the short "login" username or the full DN.
    //
    // When the username/DN is found, the full DN returned by the **server** is
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  4. cmd/metrics-v3-types.go

    		panic(fmt.Sprintf("not all labels were given values"))
    	}
    
    	v, ok := m.values[name]
    	if !ok {
    		v = make([]metricValue, 0, 1)
    	}
    	// If valid non zero value set the metrics
    	if value > 0 {
    		m.values[name] = append(v, metricValue{
    			Labels: labelMap,
    			Value:  value,
    		})
    	}
    }
    
    // SetHistogram - sets values for the given MetricName using the provided
    // histogram.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableList.java

      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E> ImmutableList<E> of(E e1, E e2) {
        return construct(e1, e2);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * Creates a derived session using the given local repository.
         *
         * @param localRepository the new local repository
         * @return the derived session
         * @throws NullPointerException if {@code localRepository} is null
         */
        @Nonnull
        Session withLocalRepository(@Nonnull LocalRepository localRepository);
    
        /**
         * Creates a derived session using the given remote repositories.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

        }
    
        def cleanup() {
            repository?.close()
        }
    
        def "each new #apiElement requires a @Incubating annotation"() {
            given:
            JApiCompatibility jApiType = getProperty(jApiTypeName)
            def rule = withContext(new IncubatingMissingRule([:]))
            def annotations = []
            jApiType.annotations >> annotations
    
            when:
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheTesting.java

          Reference<V> ref = (Reference<V>) valueRef;
          if (ref != null) {
            ref.clear();
          }
        }
      }
    
      /**
       * Poke into the Cache internals to simulate garbage collection of the given key. This assumes
       * that the given entry is a weak or soft reference, and throws an IllegalStateException if that
       * assumption does not hold.
       */
      static <K, V> void simulateKeyReclamation(Cache<K, V> cache, K key) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableList.java

      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E> ImmutableList<E> of(E e1, E e2) {
        return construct(e1, e2);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Files.java

       * character set.
       *
       * @since 14.0
       */
      public static CharSource asCharSource(File file, Charset charset) {
        return asByteSource(file).asCharSource(charset);
      }
    
      /**
       * Returns a new {@link CharSink} for writing character data to the given file using the given
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top