Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 1,561 for Handle (0.43 seconds)

  1. src/test/java/jcifs/internal/witness/MockWitnessService.java

        private void runServer() {
            while (running.get() && !serverSocket.isClosed()) {
                try {
                    Socket clientSocket = serverSocket.accept();
                    // In a real implementation, this would handle RPC requests
                    // For the mock, we just accept connections and close them
                    clientSocket.close();
                } catch (IOException e) {
                    if (running.get()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  2. RELEASE.md

    *   Updates `libjpeg-turbo` to `2.0.5` to handle
        [CVE-2020-13790](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13790).
    *   Updates `junit` to `4.13.1` to handle
        [CVE-2020-15250](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15250).
    *   Updates `PCRE` to `8.44` to handle
        [CVE-2019-20838](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-20838)
        and
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
  3. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

            String unicodeChars = "你好世界"; // "Hello World" in Chinese
            UnicodeString unicodeStringChinese = new UnicodeString(unicodeChars, false);
            assertEquals(unicodeChars, unicodeStringChinese.toString(), "toString should handle unicode characters correctly");
    
            // Test toString with buffer containing only zero (should result in empty string)
            rpc.unicode_string zeroBufferRus = new rpc.unicode_string();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                }
            }
        }
    
        @Nested
        @DisplayName("Error Handling")
        class ErrorHandlingTests {
    
            @Test
            @DisplayName("should handle malformed POM gracefully")
            void shouldHandleMalformedPOMGracefully() throws Exception {
                String malformedPomXml = """
                    <?xml version="1.0" encoding="UTF-8"?>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

              // If the delegate is already done, run the execution list immediately on the current
              // thread.
              executionList.execute();
              return;
            }
    
            // TODO(lukes): handle RejectedExecutionException
            adapterExecutor.execute(
                () -> {
                  try {
                    /*
                     * Threads from our private pool are never interrupted. Threads from a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                assertFalse(standardInfo.deletePending);
                assertFalse(standardInfo.directory);
            }
    
            @Test
            @DisplayName("Should handle directory flag")
            void testStandardInfoDirectory() {
                Trans2QueryPathInformationResponse.SmbQueryFileStandardInfo standardInfo = response.new SmbQueryFileStandardInfo();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenPropertiesLoader.java

                        default:
                            tokStarted = true;
                            tokBuf.append(tok.trim());
                            break;
                    }
                }
    
                // Handle case where end of token stream and
                // still got data
                if ((!exit) && (tokStarted)) {
                    retVal = tokBuf.toString();
                }
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/config/BaseConfiguration.java

        protected boolean allowGuestFallback = false;
        /** Whether to use durable handles for improved reliability */
        protected boolean useDurableHandles = true;
        /** Whether to use persistent handles for maximum reliability */
        protected boolean usePersistentHandles = false;
        /** Timeout for durable handles in milliseconds */
        protected long durableHandleTimeout = 120000; // 2 minutes
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

        private final String workstation = "TEST_WORKSTATION";
    
        @BeforeEach
        void setUp() {
            // MockitoExtension handles mock initialization
            // Type1Message.getDefaultWorkstation() is static, so we can't easily mock it without PowerMock.
            // We will proceed assuming it returns a predictable value or handle it as is.
        }
    
        @Test
        void testConstructor_withSigning() {
            // Test constructor when signing is enabled
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  10. cmd/storage-errors.go

    	}
    	if isSysErrIO(err) {
    		return errFaultyDisk
    	}
    	if isSysErrInvalidArg(err) {
    		storageLogIf(context.Background(), err)
    		// For some odd calls with O_DIRECT reads
    		// filesystems can return EINVAL, handle
    		// these as FileNotFound instead.
    		return errFileNotFound
    	}
    	if isSysErrNoSpace(err) {
    		return errDiskFull
    	}
    	return err
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Click Count (0)
Back to Top