Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 849 for wasn (0.02 seconds)

  1. guava-tests/test/com/google/common/io/CloserTest.java

        Closer closer = Closer.create();
        closer.register(null);
        closer.close();
      }
    
      /**
       * Asserts that an exception was thrown when trying to close each of the given throwables and that
       * each such exception was suppressed because of the given thrown exception.
       */
      private void assertSuppressed(Suppression... expected) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  2. internal/s3select/sql/jsonpath_test.go

    				t.Fatalf("parse failed!: %d %v %s", i, err, tc)
    			}
    
    			// Read only the first json object from the file
    			recs, err := getJSONStructs(b)
    			if err != nil || len(recs) != 3 {
    				t.Fatalf("%v or length was not 3", err)
    			}
    
    			for j, rec := range recs {
    				// fmt.Println(rec)
    				r, _, err := jsonpathEval(jp.PathExpr, rec)
    				if err != nil {
    					t.Errorf("Error: %d %d %v", i, j, err)
    				}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/PluginConnectionSimpleTest.java

     * This test specifically verifies the fix for the <a href="https://github.com/apache/maven/pull/2530">issue</a> where
     * getPlugin() was returning disconnected Plugin objects.
     */
    class PluginConnectionSimpleTest {
    
        @Test
        void testPluginModificationPersistsInModel() {
            // Create a test project with a plugin
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jul 04 12:50:13 GMT 2025
    - 5K bytes
    - Click Count (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt

                val lines = file.readLines().toMutableList()
                dependencies.forEach { dependency ->
                    val dependencyRegex = Regex("""(api|implementation)(\(projects\.[a-zA-Z]+\)) \(was (api|implementation)\)""")
                    val match = dependencyRegex.find(dependency)
                    if (match != null) {
                        val oldDependency = match.groupValues[3] + match.groupValues[2]
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Mar 03 06:57:08 GMT 2025
    - 6.2K bytes
    - Click Count (1)
  5. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

        @Override
        public void addProfile(Profile profile) {
            String profileId = profile.getId();
    
            Profile existing = profilesById.get(profileId);
            if (existing != null) {
                logger.warn("Overriding profile: '" + profileId + "' (source: " + existing.getSource()
                        + ") with new instance from source: " + profile.getSource());
            }
    
            profilesById.put(profile.getId(), profile);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java

                    messageBuilder.warning(mojoExecution.getExecutionId());
                    messageBuilder.warning(")");
                }
    
                messageBuilder.warning("'");
    
                logger.warn(messageBuilder.toString());
            });
        }
    
        private Stream<String> getParameterNames(Parameter parameter) {
            if (parameter.getAlias() != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  7. tests/lru_test.go

    	if _, ok := lru.Get("key1"); !ok {
    		t.Errorf("Expected key1 to exist, but it was evicted")
    	}
    }
    
    func TestLRU_Add_Eviction(t *testing.T) {
    	lru := lru.NewLRU[string, int](0, nil, time.Second*2)
    	lru.Add("key1", 1)
    	lru.Add("key2", 2)
    	lru.Add("key3", 3)
    	time.Sleep(time.Second * 3)
    	if lru.Cap() != 0 {
    		t.Errorf("Expected lru to be empty, but it was not")
    	}
    
    }
    
    func BenchmarkLRU_Rand_NoExpire(b *testing.B) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/html/ParametricNullness.java

     *       necessary there, since we have stopped using the {@code @ParametersAreNonnullByDefault}
     *       annotations that {@code ParametricNullness} was counteracting.
     * </ul>
     *
     * <p>This annotation is a temporary hack. We will remove it after <a
     * href="https://github.com/google/guava/issues/6126#issuecomment-1203145963">tools no longer need
     * it</a>.
     */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 16:20:21 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/ParametricNullness.java

     *       necessary there, since we have stopped using the {@code @ParametersAreNonnullByDefault}
     *       annotations that {@code ParametricNullness} was counteracting.
     * </ul>
     *
     * <p>This annotation is a temporary hack. We will remove it after <a
     * href="https://github.com/google/guava/issues/6126#issuecomment-1203145963">tools no longer need
     * it</a>.
     */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 16:20:21 GMT 2024
    - 3.1K bytes
    - Click Count (1)
  10. android/guava/src/com/google/common/primitives/ParametricNullness.java

     *       necessary there, since we have stopped using the {@code @ParametersAreNonnullByDefault}
     *       annotations that {@code ParametricNullness} was counteracting.
     * </ul>
     *
     * <p>This annotation is a temporary hack. We will remove it after <a
     * href="https://github.com/google/guava/issues/6126#issuecomment-1203145963">tools no longer need
     * it</a>.
     */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 16:20:21 GMT 2024
    - 3.1K bytes
    - Click Count (0)
Back to Top