Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 8,637 for clase (0.02 sec)

  1. src/main/java/org/codelibs/core/lang/ThreadUtil.java

    /**
     * Utility class for Thread class
     *
     * @author shinsuke
     *
     */
    public abstract class ThreadUtil {
    
        private static final Logger logger = Logger.getLogger(ThreadUtil.class);
    
        /**
         * Do not instantiate.
         */
        protected ThreadUtil() {
        }
    
        /**
         * Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

            exception.expect(IORuntimeException.class);
            exception.expectMessage(is("[ECL0040]IOException occurred, because java.io.IOException: load"));
            final Properties properties = new IOExceptionOccurProperties();
            PropertiesUtil.load(properties, url);
        }
    
        private static class IOExceptionOccurProperties extends Properties {
    
            /**
             *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/SecureKeyManagerTest.java

            assertThrows(IllegalArgumentException.class, () -> keyManager.storeSessionKey("session", null, "AES"));
        }
    
        @Test
        public void testStoreNullSessionId() {
            assertThrows(IllegalArgumentException.class, () -> keyManager.storeSessionKey(null, testKey, "AES"));
        }
    
        @Test
        public void testUseAfterClose() {
            keyManager.close();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. tests/test_stringified_annotation_dependency.py

        from collections.abc import AsyncGenerator
    
    
    class DummyClient:
        async def get_people(self) -> list:
            return ["John Doe", "Jane Doe"]
    
        async def close(self) -> None:
            pass
    
    
    async def get_client() -> AsyncGenerator[DummyClient, None]:
        client = DummyClient()
        yield client
        await client.close()
    
    
    Client = Annotated[DummyClient, Depends(get_client)]
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

     * <ul>
     *   <li>Retry up to 5 times</li>
     *   <li>Wait 500ms between retries</li>
     * </ul>
     *
     */
    public class FaultTolerantClient implements CrawlerClient {
    
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(FaultTolerantClient.class);
    
        /** The underlying crawler client */
        protected CrawlerClient client;
    
        /** Maximum number of retry attempts */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. internal/s3select/csv/reader_contrib_test.go

    						t.Error(err)
    					}
    				}
    				fields++
    			}
    			r.Close()
    			if err != io.EOF {
    				t.Fatalf("Case %d failed with %s", i, err)
    			}
    			if !reflect.DeepEqual(r.columnNames, c.wantColumns) {
    				t.Errorf("Case %d failed: expected %#v, got result %#v", i, c.wantColumns, r.columnNames)
    			}
    			if result.String() != c.wantTenFields {
    				t.Errorf("Case %d failed: expected %v, got result %v", i, c.wantTenFields, result.String())
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 38.4K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

                if (formal == Integer.TYPE && (actual == Integer.class || actual == Short.class || actual == Byte.class)) {
                    return true;
                }
                if (formal == Long.TYPE
                        && (actual == Long.class
                                || actual == Integer.class
                                || actual == Short.class
                                || actual == Byte.class)) {
                    return true;
                }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrCloseHandle.java

    import jcifs.smb1.dcerpc.rpc;
    
    /**
     * MS-RPC SAMR close handle operation.
     *
     * This class implements the SAMR CloseHandle operation for releasing
     * Security Account Manager (SAM) handles.
     */
    public class MsrpcSamrCloseHandle extends samr.SamrCloseHandle {
    
        /**
         * Creates a new request to close a SAM handle.
         *
         * @param policyHandle the policy handle to close
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CloseablesTest.java

    /**
     * Unit tests for {@link Closeables}.
     *
     * <p>Checks proper closing behavior, and ensures that IOExceptions on Closeable.close() are not
     * propagated out from the {@link Closeables#close} method if {@code swallowException} is true.
     *
     * @author Michael Lancaster
     */
    @NullUnmarked
    public class CloseablesTest extends TestCase {
      private Closeable mockCloseable;
    
      public void testClose_closeableClean() throws IOException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/BigIntegerMath.java

        int logFloor = x.bitLength() - 1;
        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(isPowerOfTwo(x)); // fall through
          case DOWN:
          case FLOOR:
            return logFloor;
    
          case UP:
          case CEILING:
            return isPowerOfTwo(x) ? logFloor : logFloor + 1;
    
          case HALF_DOWN:
          case HALF_UP:
          case HALF_EVEN:
            if (logFloor < SQRT2_PRECOMPUTE_THRESHOLD) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top