Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1321 - 1330 of 1,422 for Because (0.07 seconds)

  1. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

                }
            });
    
            // Thread 2: Continuously reads trees
            executor.submit(() -> {
                try {
                    for (int i = 0; i < iterations; i++) {
                        // This would cause ConcurrentModificationException with ArrayList
                        session.getSmbTree("readshare", null);
                        successCount.incrementAndGet();
                    }
                } catch (Exception e) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11K bytes
    - Click Count (0)
  2. CHANGELOG/CHANGELOG-1.24.md

      - [Changelog since v1.24.4](#changelog-since-v1244)
      - [Important Security Information](#important-security-information-3)
        - [CVE-2022-3172: Aggregated API server can cause clients to be redirected (SSRF)](#cve-2022-3172-aggregated-api-server-can-cause-clients-to-be-redirected-ssrf)
        - [CVE-2021-25749: <code>runAsNonRoot</code> logic bypass for Windows containers](#cve-2021-25749-runasnonroot-logic-bypass-for-windows-containers)
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu Aug 24 00:02:43 GMT 2023
    - 473.4K bytes
    - Click Count (0)
  3. CLAUDE.md

    3. Add tests
    4. Handle resources properly (try-with-resources)
    5. Consider thread safety
    6. Update JavaDoc
    
    ### When Fixing Bugs
    
    1. Write failing test first
    2. Understand root cause
    3. Minimal changes
    4. Verify no regressions
    
    ### When Refactoring
    
    1. Preserve behavior
    2. Keep tests green
    3. Small incremental steps
    4. Don't mix with new features
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Fri Nov 28 17:31:34 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            assertEquals(SessionServicePacket.SESSION_REQUEST, readPacket.type);
            assertTrue(bytesRead > 0);
        }
    
        @Test
        @DisplayName("Empty InputStream should cause IOException")
        void testReadTrailerWireFormatEmptyStream() {
            ByteArrayInputStream emptyStream = new ByteArrayInputStream(new byte[0]);
            SessionRequestPacket packet = new SessionRequestPacket(mockConfig);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

            };
            client.setAccessTimeout(1);
            try {
                client.doGet("smb://localhost/test.txt");
                fail();
            } catch (CrawlingAccessException e) {
                assertTrue(e.getCause() instanceof InterruptedException);
            }
        }
    
        public void test_doHead_accessTimeoutTarget() {
            SmbClient client = new SmbClient() {
                @Override
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Tue Sep 23 06:42:59 GMT 2025
    - 31.9K bytes
    - Click Count (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            assertNotNull(robotsTxt.getDirective("goodbot"));
            assertFalse(robotsTxt.allows("/admin/", "GoodBot"));
            assertTrue(robotsTxt.allows("/public/", "GoodBot"));
            // Invalid directives should not cause parsing to fail
    
            // Test crawl-delay with invalid values
            // Invalid number should be ignored, valid ones should work
            assertEquals(0, robotsTxt.getCrawlDelay("GoodBot")); // invalid values ignored
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  7. cmd/batch-expire.go

    				ObjectInfo: result.Item,
    			})
    			pushToExpire()
    		case <-ctx.Done():
    			done = true
    		}
    		if done {
    			break
    		}
    	}
    
    	if context.Cause(ctx) != nil {
    		xioutil.SafeClose(expireCh)
    		return context.Cause(ctx)
    	}
    	pushToExpire()
    	// Send any remaining objects downstream
    	if len(toDel) > 0 {
    		select {
    		case <-ctx.Done():
    		case expireCh <- toDel:
    		}
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Apr 22 11:16:32 GMT 2025
    - 23K bytes
    - Click Count (0)
  8. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       *       // perform a unit of work
       *     }
       *   }
       * </pre>
       *
       * <p>...or you could respond to stop requests by implementing {@link #triggerShutdown()}, which
       * should cause {@link #run()} to return.
       */
      protected abstract void run() throws Exception;
    
      /**
       * Stop the service. This method is invoked on the execution thread.
       *
       * <p>By default this method does nothing.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            resolutionErrorHandler.throwErrors(request, result);
            assertEquals(1, result.getArtifacts().size());
    
            //
            // Put in a bogus file to make sure missing files cause the resolution to fail.
            //
            file = new File(getBasedir(), "src/test/repository-system/maven-monkey-2.1.0.jar");
            assertFalse(file.exists(), "Expected " + file + ".exists() to return false");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. LICENSE

          other entities that control, are controlled by, or are under common
          control with that entity. For the purposes of this definition,
          "control" means (i) the power, direct or indirect, to cause the
          direction or management of such entity, whether by contract or
          otherwise, or (ii) ownership of fifty percent (50%) or more of the
          outstanding shares, or (iii) beneficial ownership of such entity.
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Nov 29 17:31:56 GMT 2021
    - 13.3K bytes
    - Click Count (0)
Back to Top