Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 1,494 for case1 (0.06 sec)

  1. docs/en/docs/tutorial/debugging.md

    ```
    
    will run.
    
    ---
    
    This won't happen if you import that module (file).
    
    So, if you have another file `importer.py` with:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    in that case, the automatically created variable inside of `myapp.py` will not have the variable `__name__` with a value of `"__main__"`.
    
    So, the line:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2-legacy.go

    // unmarshalV unmarshals with a specific header version.
    func (x *xlMetaV2VersionHeader) unmarshalV(v uint8, bts []byte) (o []byte, err error) {
    	switch v {
    	case 1:
    		return x.unmarshalV1(bts)
    	case 2:
    		x2 := xlMetaV2VersionHeaderV2{xlMetaV2VersionHeader: x}
    		return x2.UnmarshalMsg(bts)
    	case xlHeaderVersion:
    		return x.UnmarshalMsg(bts)
    	}
    	return bts, fmt.Errorf("unknown xlHeaderVersion: %d", v)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 16:43:43 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/NetworkConnections.java

      /**
       * Returns the node that is adjacent to the origin node along {@code edge}.
       *
       * <p>In the directed case, {@code edge} is assumed to be an outgoing edge.
       */
      N adjacentNode(E edge);
    
      /**
       * Remove {@code edge} from the set of incoming edges. Returns the former predecessor node.
       *
       * <p>In the undirected case, returns {@code null} if {@code isSelfLoop} is true.
       */
      @CanIgnoreReturnValue
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

        public int getType () {
            /*
             * 0x80000000 means hidden but SmbFile.isHidden() checks for $ at end
             */
            switch ( this.type & 0xFFFF ) {
            case 1:
                return SmbConstants.TYPE_PRINTER;
            case 3:
                return SmbConstants.TYPE_NAMED_PIPE;
            }
            return SmbConstants.TYPE_SHARE;
        }
    
    
        @Override
        public int getAttributes () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Feb 17 09:30:57 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      if (TF_GetCode(status) != TF_OK) return;
    
      // unwrap op_ and set step_id only if valid step id value was set.
      // Currently only required for non-TFRT use cases, e.g., EagerOp.
      if (step_id_.has_value()) {
        tensorflow::unwrap(op_.get())->SetStepId(step_id_.value());
      }
    
      TFE_Execute(op_.get(), unwrapped_results.data(), &real_num_outputs, status);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/HashCode.java

      }
    
      /**
       * Creates a {@code HashCode} from a hexadecimal ({@code base 16}) encoded string. The string must
       * be at least 2 characters long, and contain only valid, lower-cased hexadecimal characters.
       *
       * <p>This method accepts the exact format generated by {@link #toString}. If you require more
       * lenient {@code base 16} decoding, please use {@link com.google.common.io.BaseEncoding#decode}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/TempFileCreator.java

    import java.util.EnumSet;
    import java.util.Set;
    
    /**
     * Creates temporary files and directories whose permissions are restricted to the current user or,
     * in the case of Android, the current app. If that is not possible (as is the case under the very
     * old Android Ice Cream Sandwich release), then this class throws an exception instead of creating
     * a file or directory that would be more accessible.
     */
    @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  8. cmd/metrics-v3-types.go

    func (mt MetricType) String() string {
    	switch mt {
    	case CounterMT:
    		return "counter"
    	case GaugeMT:
    		return "gauge"
    	case HistogramMT:
    		return "histogram"
    	default:
    		return "*unknown*"
    	}
    }
    
    func (mt MetricType) toProm() prometheus.ValueType {
    	switch mt {
    	case CounterMT:
    		return prometheus.CounterValue
    	case GaugeMT:
    		return prometheus.GaugeValue
    	case HistogramMT:
    		return prometheus.CounterValue
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

      void awaitTimedWaiting(Thread thread) {
        while (true) {
          switch (thread.getState()) {
            case BLOCKED:
            case NEW:
            case RUNNABLE:
            case WAITING:
              Thread.yield();
              break;
            case TIMED_WAITING:
              return;
            case TERMINATED:
              throw new AssertionError();
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. cmd/bucket-targets.go

    	}
    	// validate if target credentials are ok
    	exists, err := clnt.BucketExists(ctx, tgt.TargetBucket)
    	if err != nil {
    		switch minio.ToErrorResponse(err).Code {
    		case "NoSuchBucket":
    			return BucketRemoteTargetNotFound{Bucket: tgt.TargetBucket, Err: err}
    		case "AccessDenied":
    			return RemoteTargetConnectionErr{Bucket: tgt.TargetBucket, AccessKey: tgt.Credentials.AccessKey, Err: err}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top