Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2701 - 2710 of 2,887 for bist (0.03 sec)

  1. docs/pt/docs/tutorial/handling-errors.md

    }
    ```
    
    /// tip | "Dica"
    
    Quando você lançar um `HTTPException`, você pode passar qualquer valor convertível em JSON como parâmetro de `detail`, e não apenas `str`.
    
    Você pode passar um `dict` ou um `list`, etc.
    Esses tipos de dados são manipulados automaticamente pelo **FastAPI** e convertidos em JSON.
    
    ///
    
    ## Adicione headers customizados
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function.cc

          if (std::find(indices.begin(), indices.end(), idx) != indices.end()) {
            return InvalidArgument("TF_Output ", node->name(), ":", idx,
                                   " appears more than once in the input list");
          }
          indices.push_back(idx);
        }
      }
      return absl::OkStatus();
    }
    
    // Converts `noutputs` and `outputs` into `outputs_tensors` and does various
    // checks while doing so.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

      }
    
      @Test fun proxySelectorReturnsNull() {
        val nullProxySelector: ProxySelector =
          object : ProxySelector() {
            override fun select(uri: URI): List<Proxy>? {
              assertThat(uri.host).isEqualTo(uriHost)
              return null
            }
    
            override fun connectFailed(
              uri: URI,
              socketAddress: SocketAddress,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. internal/config/identity/openid/openid.go

    			IsCfg: false,
    		})
    	}
    
    	// sort the structs by the key
    	sort.Slice(res, func(i, j int) bool {
    		return res[i].Key < res[j].Key
    	})
    
    	return res, nil
    }
    
    // GetConfigList - list openID configurations
    func (r *Config) GetConfigList(s config.Config) ([]madmin.IDPListItem, error) {
    	openIDConfigs, err := s.GetAvailableTargets(config.IdentityOpenIDSubSys)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. docs/kms/IAM.md

    setting the env. variable `MINIO_KMS_SECRET_KEY`. It expects the following
    format:
    
    ```sh
    MINIO_KMS_SECRET_KEY=<key-name>:<base64-value>
    ```
    
    First generate a 256 bit random key via:
    
    ```sh
    $ cat /dev/urandom | head -c 32 | base64 -
    OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw=
    ```
    
    Now, you can set `MINIO_KMS_SECRET_KEY` like this:
    
    ```sh
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsBoostDocumentRuleCQ.java

            queryLambda.callback(cq);
            final Collection<FilterFunctionBuilder> list = new ArrayList<>();
            if (functionsLambda != null) {
                functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
                    BoostDocumentRuleCQ cf = new BoostDocumentRuleCQ();
                    cqLambda.callback(cf);
                    list.add(new FilterFunctionBuilder(cf.getQuery(), scoreFunctionBuilder));
                });
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        Comparator<? super E> comparator = SortedIterables.comparator(sortedSet);
        ImmutableList<E> list = ImmutableList.copyOf(sortedSet);
        if (list.isEmpty()) {
          return emptySet(comparator);
        } else {
          return new RegularImmutableSortedSet<>(list, comparator);
        }
      }
    
      /**
       * Constructs an {@code ImmutableSortedSet} from the first {@code n} elements of {@code contents}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/handling-errors.md

    ```JSON
    {
      "detail": "Item not found"
    }
    
    ```
    
    /// tip | "提示"
    
    触发 `HTTPException` 时,可以用参数 `detail` 传递任何能转换为 JSON 的值,不仅限于 `str`。
    
    还支持传递 `dict`、`list` 等数据结构。
    
    **FastAPI** 能自动处理这些数据,并将之转换为 JSON。
    
    ///
    
    ## 添加自定义响应头
    
    有些场景下要为 HTTP 错误添加自定义响应头。例如,出于某些方面的安全需要。
    
    一般情况下可能不会需要在代码中直接使用响应头。
    
    但对于某些高级应用场景,还是需要添加自定义响应头:
    
    ```Python hl_lines="14"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

      <mime-type type="application/vnd.uplanet.channel"/>
      <mime-type type="application/vnd.uplanet.channel-wbxml"/>
      <mime-type type="application/vnd.uplanet.list"/>
      <mime-type type="application/vnd.uplanet.list-wbxml"/>
      <mime-type type="application/vnd.uplanet.listcmd"/>
      <mime-type type="application/vnd.uplanet.listcmd-wbxml"/>
      <mime-type type="application/vnd.uplanet.signal"/>
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Sep 21 06:46:43 UTC 2023
    - 298.5K bytes
    - Viewed (1)
  10. android/guava-tests/test/com/google/common/math/IntMathTest.java

            }
          }
        }
      }
    
      @GwtIncompatible // java.math.BigInteger
      public void testIsPowerOfTwo() {
        for (int x : ALL_INTEGER_CANDIDATES) {
          // Checks for a single bit set.
          BigInteger bigX = BigInteger.valueOf(x);
          boolean expected = (bigX.signum() > 0) && (bigX.bitCount() == 1);
          assertEquals(expected, IntMath.isPowerOfTwo(x));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top