Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1101 - 1110 of 2,682 for latch (0.02 seconds)

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

          assertTrue(observed.contains(striped.get(new Object())));
        }
    
        try {
          striped.getAt(-1);
          fail();
        } catch (RuntimeException expected) {
        }
    
        try {
          striped.getAt(striped.size());
          fail();
        } catch (RuntimeException expected) {
        }
      }
    
      public void testMaxSize() {
        for (Striped<?> striped :
            ImmutableList.of(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

          return comparator;
        }
        return NATURAL_ORDER;
      }
    
      @Override
      public boolean containsKey(Object key) {
        try {
          return delegate.containsKey(checkValid(key));
        } catch (NullPointerException | ClassCastException e) {
          return false;
        }
      }
    
      @Override
      public boolean containsValue(Object value) {
        return delegate.containsValue(value);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          assertTrue(observed.contains(striped.get(new Object())));
        }
    
        try {
          striped.getAt(-1);
          fail();
        } catch (RuntimeException expected) {
        }
    
        try {
          striped.getAt(striped.size());
          fail();
        } catch (RuntimeException expected) {
        }
      }
    
      public void testMaxSize() {
        for (Striped<?> striped :
            ImmutableList.of(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  4. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

            checkVersionParsing("1.7.3.0", 0, 0, 0, 0, "1.7.3.0");
            checkVersionParsing("1.7.3.0-1", 0, 0, 0, 0, "1.7.3.0-1");
            checkVersionParsing("PATCH-1193602", 0, 0, 0, 0, "PATCH-1193602");
            checkVersionParsing("5.0.0alpha-2006020117", 0, 0, 0, 0, "5.0.0alpha-2006020117");
            checkVersionParsing("1.0.0.-SNAPSHOT", 0, 0, 0, 0, "1.0.0.-SNAPSHOT");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                PluginDescriptor pluginDescriptor = mojoDescriptor.getPluginDescriptor();
                return getMavenSession().getPluginContext(pluginDescriptor, ((DefaultProject) project).getProject());
            } catch (LookupException e) {
                throw new MavenException("The PluginContext is only available during a mojo execution", e);
            }
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

                    }
    
                    try {
                        return client.execute(request);
                    } catch (final MaxLengthExceededException e) {
                        throw e;
                    } catch (final Exception e) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Failed to access to {}", request.getUrl(), e);
                        }
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

            Pattern mappingsPattern = Pattern.compile("(" + String.join(")|(", mappings.keySet()) + ")");
            Matcher match = mappingsPattern.matcher(dependencyName);
            if (match.matches()) {
                int i = 0;
                while (i < match.groupCount() && match.group(i + 1) == null) {
                    ++i;
                }
                return mapped.get(i);
            }
            return dependencyName;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  8. tests/test_openapi_schema_type.py

        schema = Schema(type=type_value)
        assert schema.type == type_value
    
    
    def test_invalid_type_value() -> None:
        """Test that Schema raises ValueError for invalid type values."""
        with pytest.raises(ValueError, match="2 validation errors for Schema"):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 685 bytes
    - Click Count (0)
  9. docs_src/body_updates/tutorial002_py310.py

        "baz": {"name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": []},
    }
    
    
    @app.get("/items/{item_id}", response_model=Item)
    async def read_item(item_id: str):
        return items[item_id]
    
    
    @app.patch("/items/{item_id}")
    async def update_item(item_id: str, item: Item) -> Item:
        stored_item_data = items[item_id]
        stored_item_model = Item(**stored_item_data)
        update_data = item.model_dump(exclude_unset=True)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 12:07:26 GMT 2026
    - 1009 bytes
    - Click Count (0)
  10. docs_src/generate_clients/tutorial004.js

              }
            }
          }
        }
    
        await fs.promises.writeFile(
          filePath,
          JSON.stringify(openapiContent, null, 2),
        )
        console.log('File successfully modified')
      } catch (err) {
        console.error('Error:', err)
      }
    }
    
    const filePath = './openapi.json'
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 14 11:40:05 GMT 2024
    - 1K bytes
    - Click Count (0)
Back to Top