Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1791 - 1800 of 2,912 for fromP2 (0.06 sec)

  1. guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.util.Map;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@code Map}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum MapFeature implements Feature<Map> {
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbWatchHandle.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    import java.util.List;
    import java.util.concurrent.Callable;
    
    /**
     * Handle for receiving change notifications from an SMB server
     *
     *
     * @author mbechler
     *
     */
    public interface SmbWatchHandle extends AutoCloseable, Callable<List<FileNotifyInformation>> {
    
        /**
         * Get the next set of changes
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. src/buildall.bash

    # so this script no longer runs in any automated fashion.
    #
    # Options:
    #   -e: stop at first failure
    
    if [ ! -f run.bash ]; then
    	echo 'buildall.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    
    sete=false
    if [ "$1" = "-e" ]; then
    	sete=true
    	shift
    fi
    
    if [ "$sete" = true ]; then
    	set -e
    fi
    
    pattern="$1"
    if [ "$pattern" = "" ]; then
    	pattern=.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Apr 23 17:45:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      }
    
      /**
       * Returns an immutable sorted multiset containing the elements of a sorted multiset, sorted by
       * the same {@code Comparator}. That behavior differs from {@link #copyOf(Iterable)}, which always
       * uses the natural ordering of the elements.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  5. apache-maven/src/assembly/maven/bin/mvn

      "$JAVACMD" -version >&2
      echo "Please upgrade your Java installation or set JAVA_HOME to point to a compatible JDK." >&2
      exit 1
    fi
    
    # traverses directory structure from process work directory to filesystem root
    # first directory with .mvn subdirectory is considered project base directory
    find_maven_basedir() {
    (
      basedir=`find_file_argument_basedir "$@"`
      wdir="$basedir"
      while :
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 24 09:49:07 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

        @BeforeEach
        void setUp() {
            response = new SmbComOpenAndXResponse();
        }
    
        @Test
        void testConstructor() {
            assertNotNull(response);
            // Default values from constructor
            assertEquals(0, response.fid);
            assertEquals(0, response.fileAttributes);
            assertEquals(0L, response.lastWriteTime);
            assertEquals(0, response.dataSize);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

         * This demonstrates mocking capabilities for testing.
         */
        @Test
        @DisplayName("Mock interaction example with SmbTransport")
        void mockTransportInteraction() {
            // Create a mock of SmbTransport from jcifs package
            jcifs.SmbTransport mock = mock(jcifs.SmbTransport.class);
            // Stub the getRemoteHostName method
            when(mock.getRemoteHostName()).thenReturn("test-host");
            // Verify the stubbing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

     * or extended by Maven plugins or extensions and consumed by Maven itself.</li>
     * <li>{@link ThreadSafe}: Implies that implementations of this interface must
     * be safe to invoke from multiple threads concurrently.</li>
     * </ul>
     *
     * @since 4.0.0
     */
    @Experimental
    @FunctionalInterface
    @Consumer
    @ThreadSafe
    public interface Mojo {
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:21:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

    import org.apache.maven.plugin.MojoExecution;
    
    /**
     * A stub implementation that assumes an empty lifecycle to bypass interaction with the plugin manager and to avoid
     * plugin artifact resolution from repositories.
     *
     */
    @Deprecated
    public class EmptyLifecycleExecutor implements LifecycleExecutor {
    
        @Override
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, String... tasks) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/additional-status-codes.md

    /// warning | 警告
    
    当你直接返回一个像上面例子中的 `Response` 对象时,它会直接返回。
    
    FastAPI 不会用模型等对该响应进行序列化。
    
    确保其中有你想要的数据,且返回的值为合法的 JSON(如果你使用 `JSONResponse` 的话)。
    
    ///
    
    /// note | 技术细节
    
    你也可以使用 `from starlette.responses import JSONResponse`。 
    
    出于方便,**FastAPI** 为开发者提供同 `starlette.responses` 一样的 `fastapi.responses`。但是大多数可用的响应都是直接来自 Starlette。`status` 也是一样。
    
    ///
    
    ## OpenAPI 和 API 文档
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top