Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 289 for locking (0.95 sec)

  1. guava/src/com/google/common/collect/ForwardingMultimap.java

    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A multimap which forwards all its method calls to another multimap. Subclasses should override
     * one or more methods to modify the behavior of the backing multimap as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

                assertEquals(USER_REALM, ticket.getUserRealm());
            }
        }
    
        // Note: Testing the code path where keys are null and retrieved from
        // KerberosCredentials requires mocking the constructor of KerberosCredentials,
        // which is not possible with standard Mockito. A tool like PowerMock would be needed.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import okio.ByteString
    
    /**
     * A non-blocking interface to a web socket. Use the [factory][WebSocket.Factory] to create
     * instances; usually this is [OkHttpClient].
     *
     * ## Web Socket Lifecycle
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.pac.PACDecodingException;
    
    class KerberosApRequestTest {
    
        // Helper: build a minimal, valid-looking ASN.1 AP-REQ sequence with tags 0/1/2
        private ASN1Sequence buildMinimalApReqSeq(byte apOptions) {
            ASN1EncodableVector v = new ASN1EncodableVector();
            // pvno [0] INTEGER 5
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/HandlerTest.java

            // to create the stream handler for the connection.
            URLStreamHandlerFactory mockFactory = mock(URLStreamHandlerFactory.class);
    
            // Create a concrete URLStreamHandler subclass instead of mocking
            URLStreamHandler mockStreamHandler = new URLStreamHandler() {
                @Override
                protected URLConnection openConnection(URL u) throws IOException {
                    return mock(HttpURLConnection.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingMapEntry.java

    import java.util.Objects;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A map entry which forwards all its method calls to another map entry. Subclasses should override
     * one or more methods to modify the behavior of the backing map entry as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingMapEntry} forward <i>indiscriminately</i> to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingBlockingDeque.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link BlockingDeque} which forwards all its method calls to another {@code BlockingDeque}.
     * Subclasses should override one or more methods to modify the behavior of the backing deque as
     * desired per the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingBlockingDeque} forward <b>indiscriminately</b>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            }
        }
    
        @Nested
        class AttributeAndStateTests {
    
            @Test
            public void testGetTypeForFile() throws Exception {
                // Mocking underlying connection and info retrieval is complex.
                // This test focuses on the logic based on the URL structure.
                SmbFile file = new SmbFile("smb1://server/share/file.txt");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingList.java

    import java.util.ListIterator;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A list which forwards all its method calls to another list. Subclasses should override one or
     * more methods to modify the behavior of the backing list as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p>This class does not implement {@link java.util.RandomAccess}. If the delegate supports random
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A sorted multiset which forwards all its method calls to another sorted multiset. Subclasses
     * should override one or more methods to modify the behavior of the backing multiset as desired per
     * the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingSortedMultiset} forward
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top