Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for switches (0.11 sec)

  1. doc/go1.17_spec.html

    against the value of the switch expression.
    In a type switch, the cases contain types that are compared against the
    type of a specially annotated switch expression.
    The switch expression is evaluated exactly once in a switch statement.
    </p>
    
    <h4 id="Expression_switches">Expression switches</h4>
    
    <p>
    In an expression switch,
    the switch expression is evaluated and
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  2. CHANGELOG/CHANGELOG-1.5.md

    * Adds support for StatefulSets in kubectl drain. ([#35483](https://github.com/kubernetes/kubernetes/pull/35483), [@ymqytw](https://github.com/ymqytw))
        * Switches to use the eviction sub-resource instead of deletion in kubectl drain, if server supports.
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 136.4K bytes
    - Viewed (0)
  3. cmd/storage-datatypes_gen.go

    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    	if len(data) <= 4 {
    		return brs, fmt.Errorf("replication resync: no data")
    	}
    	// Read resync meta header
    	switch binary.LittleEndian.Uint16(data[0:2]) {
    	case resyncMetaFormat:
    	default:
    		return brs, fmt.Errorf("resyncMeta: unknown format: %d", binary.LittleEndian.Uint16(data[0:2]))
    	}
    	switch binary.LittleEndian.Uint16(data[2:4]) {
    	case resyncMetaVersion:
    	default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    func (a adminAPIHandlers) ServiceHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	vars := mux.Vars(r)
    	action := vars["action"]
    
    	var serviceSig serviceSignal
    	switch madmin.ServiceAction(action) {
    	case madmin.ServiceActionRestart:
    		serviceSig = serviceRestart
    	case madmin.ServiceActionStop:
    		serviceSig = serviceStop
    	case madmin.ServiceActionFreeze:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    			writeResponse(w, serr.HTTPStatusCode(), encodedErrorResponse, mimeXML)
    		} else {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		}
    		return
    	}
    
    	// Set encryption response headers
    	switch kind, _ := crypto.IsEncrypted(objInfo.UserDefined); kind {
    	case crypto.S3:
    		w.Header().Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionAES)
    	case crypto.S3KMS:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  7. cmd/site-replication.go

    	}
    	if len(data) <= 4 {
    		return rs, fmt.Errorf("site resync: no data")
    	}
    	// Read resync meta header
    	switch binary.LittleEndian.Uint16(data[0:2]) {
    	case siteResyncMetaFormat:
    	default:
    		return rs, fmt.Errorf("resyncMeta: unknown format: %d", binary.LittleEndian.Uint16(data[0:2]))
    	}
    	switch binary.LittleEndian.Uint16(data[2:4]) {
    	case siteResyncMetaVersion:
    	default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

              }
    
              @Override
              public String toString() {
                return function.toString();
              }
            };
        // TODO(dpb): Switch to future.transformSync when that exists (passing a throwing function).
        return derive(future.transformAsync(applyFunction, executor));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/popper.min.js.map

    boundariesElement: 'viewport',\n    /**\n     * @prop {Boolean} flipVariations=false\n     * The popper will switch placement variation between `-start` and `-end` when\n     * the reference element overlaps its boundaries.\n     *\n     * The original placement should have a set variation.\n     */\n    flipVariations: false,\n    /**\n     * @prop {Boolean} flipVariationsByContent=false\n     * The popper will switch placement variation between `-start` and `-end` when\n     * the popper element overlaps its reference...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 120.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

            if (dr != null) {
                String service = null;
    
                if (request != null) {
                    switch( request.command ) {
                        case ServerMessageBlock.SMB_COM_TRANSACTION:
                        case ServerMessageBlock.SMB_COM_TRANSACTION2:
                            switch( ((SmbComTransaction)request).subCommand & 0xFF ) {
                                case SmbComTransaction.TRANS2_GET_DFS_REFERRAL:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top