Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 323 for OPEN (0.14 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

          cache.remove("k1")
    
          // On Windows files still exist with open with 2 open sources.
          assertThat(readFileOrNull(getCleanFile("k1", 0))).isEqualTo(afterRemoveFileContents)
          assertThat(readFileOrNull(getDirtyFile("k1", 0))).isNull()
    
          // On Windows files still exist with open with 1 open source.
          snapshot1.assertValue(0, "a")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt

    sealed class CallEvent {
      abstract val timestampNs: Long
      abstract val call: Call
    
      val name: String
        get() = javaClass.simpleName
    
      /** Returns if the event closes this event, or null if this is no open event. */
      open fun closes(event: CallEvent): Boolean? = null
    
      data class ProxySelectStart(
        override val timestampNs: Long,
        override val call: Call,
        val url: HttpUrl,
      ) : CallEvent()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarClose.class));
    
            // Act
            handle.close();
    
            // Assert
            // Verify sendrecv was called once for open and once for close
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class));
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarClose.class));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtStatus.java

        /** No process is on the other end of the pipe */
        int NT_STATUS_PIPE_DISCONNECTED = 0xC00000b0;
        /** The pipe is being closed */
        int NT_STATUS_PIPE_CLOSING = 0xC00000b1;
        /** Waiting for a process to open the other end of the pipe */
        int NT_STATUS_PIPE_LISTENING = 0xC00000b3;
        /** The file that was specified is a directory */
        int NT_STATUS_FILE_IS_A_DIRECTORY = 0xC00000ba;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbResource.java

         * @param append
         *            whether to append to or truncate the input
         * @param openFlags
         *            flags for open operation
         * @param access
         *            desired file access flags
         * @param sharing
         *            flags indicating for which operations others may open the file
         * @return output stream, needs to be closed when finished
         * @throws CIFSException if an error occurs accessing the resource
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  6. android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt

    import okhttp3.Callback
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.internal.platform.AndroidPlatform
    import okio.IOException
    
    open class MainActivity : ComponentActivity() {
      override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
    
        val client = OkHttpClient()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Aug 19 08:10:39 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. okhttp/src/androidMain/kotlin/okhttp3/internal/publicsuffix/AssetPublicSuffixList.kt

              "Platform applicationContext not initialized. " +
                "Startup Initializer possibly disabled, " +
                "call OkHttp.initialize before test.",
            )
          }
        }
    
        return assets.open(path).source()
      }
    
      companion object {
        val PUBLIC_SUFFIX_RESOURCE = "PublicSuffixDatabase.list"
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

        @DisplayName("Lifecycle and exception mapping")
        class LifecycleAndExceptions {
    
            @Test
            @DisplayName("open() acquires handle and closes it")
            void openDelegatesEnsureOpenAndCloses() throws Exception {
                SmbFileInputStream in = newStream();
                in.open();
                // ensureOpen returns acquired handle; try-with-resources must close it
                verify(mockHandle, times(1)).close();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/package-info.java

     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/CachesExplained">caches</a>.
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library.
     *
     * @author Charles Fry
     */
    @CheckReturnValue
    @NullMarked
    package com.google.common.cache;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jan 03 19:02:39 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

            this.wildcard = wildcard;
            this.nameFilter = filter;
            this.searchAttributes = searchAttributes;
    
            this.treeHandle = th.acquire();
            try {
                this.next = open();
                if (this.next == null) {
                    doClose();
                }
            } catch (final Exception e) {
                doClose();
                throw e;
            }
    
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top