- Sort Score
- Result 10 results
- Languages All
Results 1521 - 1530 of 2,072 for protected (0.11 sec)
-
guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
/** * Tests for {@link Synchronized#queue} and {@link Queues#synchronizedQueue}. * * @author Kurt Alfred Kluever */ public class SynchronizedQueueTest extends TestCase { protected Queue<String> create() { TestQueue<String> inner = new TestQueue<>(); Queue<String> outer = Synchronized.queue(inner, inner.mutex); outer.add("foo"); // necessary because we try to remove elements later on
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 20:50:58 UTC 2024 - 4.7K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java
public String getExpandedVersion(Artifact artifact) { String key = getKey(artifact.getClassifier(), artifact.getExtension()); return versions.get(key).getVersion(); } @Override protected void merge(Metadata recessive) { Snapshot snapshot; String lastUpdated; if (metadata.getVersioning() == null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 78.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
public Map<R, Map<C, V>> rowMap() { assertTrue(Thread.holdsLock(mutex)); return delegate.rowMap(); } private static final long serialVersionUID = 0; } @Override protected Table<String, Integer, Character> create(@Nullable Object... data) { TestTable<String, Integer, Character> table = new TestTable<>(); Table<String, Integer, Character> synced = Synchronized.table(table, table.mutex);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenTarg.java
return collector.toByteArray(); } catch ( IOException ex ) { throw new IllegalStateException(ex.getMessage()); } } @Override protected void parse ( byte[] token ) throws IOException { try ( ASN1InputStream der = new ASN1InputStream(token) ) { ASN1TaggedObject tagged = (ASN1TaggedObject) der.readObject();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Jan 04 04:18:31 UTC 2021 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
MapFeature.ALLOWS_ANY_NULL_QUERIES) .createTestSuite()); return suite; } private ClassToInstanceMap<Number> map; @Override protected void setUp() throws Exception { map = MutableClassToInstanceMap.create(); } public void testConstraint() { /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
// unlike the above this indirection defeats the trivial cycle detection and causes a SOE orig.setFuture( new ForwardingListenableFuture<Object>() { @Override protected ListenableFuture<Object> delegate() { return orig; } }); assertThat(orig.toString()) .contains("Exception thrown from implementation: class java.lang.StackOverflowError");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 47.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java
if (artifact.isRelease()) { versioning.setRelease(artifact.getVersion()); } return new ArtifactRepositoryMetadata(artifact, versioning); } @Override protected String constructVersion(Versioning versioning, String baseVersion) { return versioning.getRelease(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java
import org.codehaus.plexus.logging.Logger; /** * FileProfileActivator */ @Deprecated public class FileProfileActivator extends DetectedProfileActivator implements LogEnabled { private Logger logger; protected boolean canDetectActivation(Profile profile) { return profile.getActivation() != null && profile.getActivation().getFile() != null; } public boolean isActive(Profile profile) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/c/eager/abstract_tensor_handle.h
#include "tensorflow/core/platform/status.h" namespace tensorflow { // Abstract interface to a Tensor handle in either tracing or immediate // execution mode. class AbstractTensorHandle : public core::RefCounted { protected: enum AbstractTensorHandleKind { kGraph, kMlir, kEager, kTfrt, kCustomDevice }; explicit AbstractTensorHandle(AbstractTensorHandleKind kind) : kind_(kind) {} ~AbstractTensorHandle() override {} public:
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 3K bytes - Viewed (0)