Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 1,630 for Systems (0.12 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt

      @StartStop
      private val server = MockWebServer()
    
      @BeforeEach
      fun setUp() {
        // Default after JDK 14, but we are avoiding tests that assume special setup.
        // System.setProperty("jdk.tls.client.enableSessionTicketExtension", "true")
        // System.setProperty("jdk.tls.server.enableSessionTicketExtension", "true")
    
        // IllegalStateException: Cannot resume session and session creation is disabled
        platform.assumeNotBouncyCastle()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 5.9K bytes
    - Click Count (1)
  2. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

            final int start = dstIndex;
    
            if (this.blob != null) {
                System.arraycopy(this.blob, 0, dst, dstIndex, this.blob.length);
                dstIndex += this.blob.length;
            } else {
                System.arraycopy(this.lmHash, 0, dst, dstIndex, this.lmHash.length);
                dstIndex += this.lmHash.length;
                System.arraycopy(this.ntHash, 0, dst, dstIndex, this.ntHash.length);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. cmd/metrics-resource.go

    			labels := map[string]string{}
    			ts := hm.CPU.TimesStat
    			if ts != nil {
    				tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal
    				cpuUserVal := math.Round(ts.User/tot*100*100) / 100
    				updateResourceMetrics(cpuSubsystem, cpuUser, cpuUserVal, labels, false)
    				cpuSystemVal := math.Round(ts.System/tot*100*100) / 100
    				updateResourceMetrics(cpuSubsystem, cpuSystem, cpuSystemVal, labels, false)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 17.2K bytes
    - Click Count (0)
  4. ci/official/utilities/code_check_changed_files.bats

    setup_file() {
        bazel version  # Start the bazel server
    
        # Fixes "fatal: detected dubious ownership in repository" for Docker.
        git config --system --add safe.directory '*'
        git config --system protocol.file.allow always
    
        # Note that you could generate a list of all the affected targets with e.g.:
        # bazel query $(paste -sd "+" $BATS_FILE_TMPDIR/changed_files) --keep_going
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 4K bytes
    - Click Count (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformVersion.kt

    object PlatformVersion {
      val majorVersion: Int by lazy {
        when (val jvmSpecVersion = getJvmSpecVersion()) {
          "1.8" -> 8
          else -> jvmSpecVersion.toInt()
        }
      }
    
      fun getJvmSpecVersion(): String = System.getProperty("java.specification.version", "unknown")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 902 bytes
    - Click Count (0)
  6. okcurl/src/main/kotlin/okhttp3/curl/MainCommandLine.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.curl
    
    import com.github.ajalt.clikt.core.main
    import kotlin.system.exitProcess
    
    fun main(args: Array<String>) {
      Main().main(args)
      exitProcess(0)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Dec 21 08:56:29 GMT 2024
    - 768 bytes
    - Click Count (0)
  7. src/test/java/jcifs/SmbFileHandleTest.java

        }
    
        /**
         * Test close(long) successfully.
         *
         * @throws CIFSException
         */
        @Test
        void testCloseWithLastWriteTime_success() throws CIFSException {
            long lastWriteTime = System.currentTimeMillis();
            smbFileHandle.close(lastWriteTime);
            verify(smbFileHandle, times(1)).close(lastWriteTime);
        }
    
        /**
         * Test close(long) when a CIFSException is thrown.
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

                assertTrue(msg instanceof DcerpcMessage);
            }
        }
    
        @Nested
        @DisplayName("Edge case handling")
        class EdgeCases {
    
            @Test
            @DisplayName("should handle null system name")
            void testNullSystemNameDoesNotThrow() {
                // Arrange
                SamrPolicyHandle ph = createMockPolicyHandle();
    
                // Act & Assert
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        )
        val startNanos = System.nanoTime()
        val connection = server.url("/").toUrl().openConnection()
        connection.setDoOutput(true)
        connection.getOutputStream().write("ABCDEF".toByteArray(StandardCharsets.UTF_8))
        val inputStream = connection.getInputStream()
        assertThat(inputStream.read()).isEqualTo(-1)
        val elapsedNanos = System.nanoTime() - startNanos
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 03 13:16:34 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/curl/CurlTest.java

            assertTrue(Curl.tmpDir.exists());
        }
    
        @Test
        public void test_TmpDirMatchesSystemProperty() {
            // ## Test that tmpDir matches system property ##
    
            // ## Act ##
            final String systemTmpDir = System.getProperty("java.io.tmpdir");
            final String curlTmpDir = Curl.tmpDir.getAbsolutePath();
    
            // ## Assert ##
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 16.3K bytes
    - Click Count (0)
Back to Top