Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 639 for Fprint (0.06 sec)

  1. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          // TODO(user): verify future behavior - unify logic with getFutureValue in AbstractFuture. This
          // code should be unreachable with correctly implemented Futures.
          // Cancel this future and return.
          // At this point, inputFuture is cancelled and outputFuture doesn't exist, so the value of
          // mayInterruptIfRunning is irrelevant.
          cancel(false);
          return;
        } catch (ExecutionException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Encdec.java

        }
    
    
        public static int enc_floatbe ( float f, byte[] dst, int di ) {
            return enc_uint32be(Float.floatToIntBits(f), dst, di);
        }
    
    
        /*
         * Decode floating point numbers
         */
    
        public static float dec_floatle ( byte[] src, int si ) {
            return Float.intBitsToFloat(dec_uint32le(src, si));
        }
    
    
        public static float dec_floatbe ( byte[] src, int si ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/handling-errors.md

    デフォルトの例外ハンドラを`fastapi.exception_handlers`からインポートして再利用することができます:
    
    ```Python hl_lines="2 3 4 5 15 21"
    {!../../docs_src/handling_errors/tutorial006.py!}
    ```
    
    この例では、非常に表現力のあるメッセージでエラーを`print`しています。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/settings.md

    ////
    
    ### 在 Python 中读取环境变量
    
    您还可以在 Python 之外的地方(例如终端中或使用任何其他方法)创建环境变量,然后在 Python 中读取它们。
    
    例如,您可以有一个名为 `main.py` 的文件,其中包含以下内容:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> 的第二个参数是要返回的默认值。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. cmd/metacache-stream.go

    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	v, err := json.Marshal(b)
    	if err != nil {
    		bugLogIf(context.Background(), err) // Unlikely
    		return nil
    	}
    	return map[string]string{fmt.Sprintf("%s-metacache-part-%d", ReservedMetadataPrefixLower, b.n): string(v)}
    }
    
    // pastPrefix returns true if the given prefix is before start of the block.
    func (b metacacheBlock) pastPrefix(prefix string) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  6. istioctl/pkg/describe/describe_test.go

       Route to host "productpage2" with weight 20%
       Route to host "productpage3" with weight 50%
       Match: /prefix*
    `,
    		},
    	}
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.args, " ")), func(t *testing.T) {
    			verifyExecAndK8sConfigTestCaseTestOutput(t, c)
    		})
    	}
    }
    
    func TestGetRevisionFromPodAnnotation(t *testing.T) {
    	cases := []struct {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  7. istioctl/pkg/tag/generate.go

    		}
    
    		vwhYAML, err := generateValidatingWebhook(validationWhConfig, opts)
    		if err != nil {
    			return "", fmt.Errorf("failed to create validating webhook: %w", err)
    		}
    		tagWhYAML = fmt.Sprintf(`%s
    ---
    %s`, tagWhYAML, vwhYAML)
    	}
    
    	return tagWhYAML, nil
    }
    
    func fixWhConfig(client kube.Client, whConfig *tagWebhookConfig) (*tagWebhookConfig, error) {
    	if whConfig.URL != "" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Maps.java

       *         return Math.sqrt((int) in);
       *       }
       *     };
       * Map<String, Double> transformed = Maps.transformValues(map, sqrt);
       * System.out.println(transformed);
       * }</pre>
       *
       * ... prints {@code {a=2.0, b=3.0}}.
       *
       * <p>Changes in the underlying map are reflected in this view. Conversely, this view supports
       * removal operations, and these are reflected in the underlying map.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Maps.java

       *         return Math.sqrt((int) in);
       *       }
       *     };
       * Map<String, Double> transformed = Maps.transformValues(map, sqrt);
       * System.out.println(transformed);
       * }</pre>
       *
       * ... prints {@code {a=2.0, b=3.0}}.
       *
       * <p>Changes in the underlying map are reflected in this view. Conversely, this view supports
       * removal operations, and these are reflected in the underlying map.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  10. cmd/notification.go

    				return nil
    			}
    
    			for typ, data := range data {
    				// zip writer only handles one concurrent write
    				writeMu.Lock()
    				profilingDataFound = true
    				err := embedFileInZip(zipWriter, fmt.Sprintf("profile-%s-%s", client.host.String(), typ), data, 0o600)
    				writeMu.Unlock()
    				if err != nil {
    					reqInfo := (&logger.ReqInfo{}).AppendTags("peerAddress", client.host.String())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
Back to top