Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 45 for adopt (0.02 seconds)

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

        private class TestIterator extends FileEntryAdapterIterator {
            TestIterator(ResourceFilter filter) {
                super(parent, delegate, filter);
            }
    
            @Override
            protected SmbResource adapt(FileEntry e) throws MalformedURLException {
                return resource;
            }
        }
    
        @BeforeEach
        void setUp() {
            lenient().when(fileEntry.getName()).thenReturn("test");
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt

                if (q < t) break
                result.writeByte((t + ((q - t) % (BASE - t))).punycodeDigit)
                q = (q - t) / (BASE - t)
              }
    
              result.writeByte(q.punycodeDigit)
              bias = adapt(delta, h + 1, h == b)
              delta = 0
              h++
            }
          }
          delta++
          n++
        }
    
        return true
      }
    
      /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  3. docs/en/docs/project-generation.md

    # Full Stack FastAPI Template { #full-stack-fastapi-template }
    
    Templates, while typically come with a specific setup, are designed to be flexible and customizable. This allows you to modify and adapt them to your project's requirements, making them an excellent starting point. 🏁
    
    You can use this template to get started, as it includes a lot of the initial set up, security, database and some API endpoints already done for you.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Dec 08 13:04:54 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/NetServerFileEntryAdapterIterator.java

            super(parent, delegate, filter);
        }
    
        /**
         * @param fe
         * @return
         * @throws MalformedURLException
         */
        @Override
        protected SmbResource adapt(final FileEntry e) throws MalformedURLException {
            return new SmbFile(getParent(), e.getName(), false, e.getType(), SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY, 0L, 0L,
                    0L, 0L);
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java

            super(parent, delegate, filter);
        }
    
        /**
         * @param fe
         * @return
         * @throws MalformedURLException
         */
        @Override
        protected SmbResource adapt(final FileEntry e) throws MalformedURLException {
            return new SmbFile(getParent(), e.getName(), true, SmbConstants.TYPE_FILESYSTEM, e.getAttributes(), e.createTime(),
                    e.lastModified(), e.lastAccess(), e.length());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java

     *
     * <h3>Extension</h3>
     *
     * If you want a class like {@code FluentFuture} but with extra methods, we recommend declaring your
     * own subclass of {@link ListenableFuture}, complete with a method like {@link #from} to adapt an
     * existing {@code ListenableFuture}, implemented atop a {@link ForwardingListenableFuture} that
     * forwards to that future and adds the desired methods.
     */
    @GwtCompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java

     *
     * <h3>Extension</h3>
     *
     * If you want a class like {@code FluentFuture} but with extra methods, we recommend declaring your
     * own subclass of {@link ListenableFuture}, complete with a method like {@link #from} to adapt an
     * existing {@code ListenableFuture}, implemented atop a {@link ForwardingListenableFuture} that
     * forwards to that future and adds the desired methods.
     */
    @GwtCompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jLogger.java

     * under the License.
     */
    package org.apache.maven.cling.logging;
    
    import org.apache.maven.logging.ProjectBuildLogAppender;
    import org.codehaus.plexus.logging.Logger;
    
    /**
     * Adapt an SLF4J logger to a Plexus logger, ignoring Plexus logger API parts that are not classical and
     * probably not really used.
     *
     * @since 3.1.0
     */
    public class Slf4jLogger implements Logger {
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  9. architecture/standards/0009-use-american-english.md

    While both American and British English are valid, establishing a single standard improves consistency, readability, and maintainability of the codebase.
    
    ## Decision
    
    The Gradle project adopts **American English** as the standard language variant for all code, comments, documentation, user-facing messages, and written communication.
    
    ### Examples
    
    Use American English spelling, for example:
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Nov 25 07:01:54 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  10. guava/src/com/google/common/hash/Murmur3_128HashFunction.java

     * domain. The author hereby disclaims copyright to this source code.
     */
    
    /*
     * Source:
     * https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.cpp
     * (Modified to adapt to Guava coding conventions and to use the HashFunction interface)
     */
    
    package com.google.common.hash;
    
    import static java.lang.Byte.toUnsignedInt;
    
    import com.google.errorprone.annotations.Immutable;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top