Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1471 - 1480 of 1,848 for instance (0.1 sec)

  1. docs/pt/docs/tutorial/body-fields.md

    Na realidade, `Query`, `Path` e outros que você verá em seguida, criam objetos de subclasses de uma classe `Param` comum, que é ela mesma uma subclasse da classe `FieldInfo` do Pydantic.
    
    E `Field` do Pydantic retorna uma instância de `FieldInfo` também.
    
    `Body` também retorna objetos de uma subclasse de `FieldInfo` diretamente. E tem outras que você verá mais tarde que são subclasses da classe `Body`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

        /**
         * <code>SQL</code>を返します。
         *
         * @param cause
         *            原因となった例外
         * @return <code>SQL</code>
         */
        protected static String getSql(final SQLException cause) {
            if (cause instanceof ClSQLException) {
                return ((ClSQLException) cause).getSql();
            }
            return "";
        }
    
        /**
         * 本当のメッセージを返します。
         *
         * @param cause
         *            原因となった例外
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java

        return absentFeatures;
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof TesterRequirements) {
          TesterRequirements that = (TesterRequirements) object;
          return this.presentFeatures.equals(that.presentFeatures)
              && this.absentFeatures.equals(that.absentFeatures);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/IncidentEdgeSet.java

              - (graph.successors(node).contains(node) ? 1 : 0);
        } else {
          return graph.adjacentNodes(node).size();
        }
      }
    
      @Override
      public boolean contains(@CheckForNull Object obj) {
        if (!(obj instanceof EndpointPair)) {
          return false;
        }
        EndpointPair<?> endpointPair = (EndpointPair<?>) obj;
    
        if (graph.isDirected()) {
          if (!endpointPair.isOrdered()) {
            return false;
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  5. internal/event/target/mqtt.go

    		}
    		if m.QoS == 0 {
    			return errors.New("qos should be set to 1 or 2 if queueDir is set")
    		}
    	}
    
    	return nil
    }
    
    // MQTTTarget - MQTT target.
    type MQTTTarget struct {
    	initOnce once.Init
    
    	id         event.TargetID
    	args       MQTTArgs
    	client     mqtt.Client
    	store      store.Store[event.Event]
    	quitCh     chan struct{}
    	loggerOnce logger.LogOnce
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                    pageSize, offset);
        }
    
        protected float toFloat(final Object value) {
            if (value instanceof final Float f) {
                return f;
            }
            if (value instanceof final String s) {
                return Float.parseFloat(s);
            }
            return 0.0f;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        boolean hasSameComparator = fromSortedSet || hasSameComparator(elements, comparator);
        if (hasSameComparator && (elements instanceof ImmutableSortedSet)) {
          @SuppressWarnings("unchecked")
          ImmutableSortedSet<E> result = (ImmutableSortedSet<E>) elements;
          boolean isSubset =
              (result instanceof RegularImmutableSortedSet)
                  && ((RegularImmutableSortedSet) result).isSubset;
          if (!isSubset) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        public MetadataBridge setFile(File file) {
            return this;
        }
    
        @Override
        public Path getPath() {
            return null;
        }
    
        public Nature getNature() {
            if (metadata instanceof RepositoryMetadata) {
                switch (((RepositoryMetadata) metadata).getNature()) {
                    case RepositoryMetadata.RELEASE_OR_SNAPSHOT:
                        return Nature.RELEASE_OR_SNAPSHOT;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Parameter.java

            this.deprecated = deprecated;
        }
    
        public int hashCode() {
            return name.hashCode();
        }
    
        public boolean equals(Object other) {
            return (other instanceof Parameter) && getName().equals(((Parameter) other).getName());
        }
    
        public String getAlias() {
            return alias;
        }
    
        public void setAlias(String alias) {
            this.alias = alias;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

            };
            client.setAccessTimeout(1);
            try {
                client.doGet("file:/tmp/test.txt");
                fail();
            } catch (CrawlingAccessException e) {
                assertTrue(e.getCause() instanceof InterruptedException);
            }
        }
    
        public void test_doHead_accessTimeoutTarget() {
            FileSystemClient client = new FileSystemClient() {
                @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top