Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 1,123 for ELSE (0.01 seconds)

  1. internal/logger/logonce.go

    	if err == nil {
    		return
    	}
    
    	nerr := unwrapErrs(err)
    	l.Lock()
    	shouldLog := true
    	prev, ok := l.IDMap[id]
    	if !ok {
    		l.IDMap[id] = onceErr{
    			Err:   nerr,
    			Count: 1,
    		}
    	} else if prev.Err.Error() == nerr.Error() {
    		// if errors are equal do not log.
    		prev.Count++
    		l.IDMap[id] = prev
    		shouldLog = false
    	}
    	l.Unlock()
    
    	if shouldLog {
    		consoleLogIf(ctx, subsystem, err, errKind...)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. docs_src/additional_status_codes/tutorial001_an_py310.py

        size: Annotated[int | None, Body()] = None,
    ):
        if item_id in items:
            item = items[item_id]
            item["name"] = name
            item["size"] = size
            return item
        else:
            item = {"name": name, "size": size}
            items[item_id] = item
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 686 bytes
    - Click Count (0)
  3. internal/s3select/sql/value.go

    		case int64, float64:
    			if iA, ok := a.bytesToInt(); ok {
    				a.setInt(iA)
    			} else if fA, ok := a.bytesToFloat(); ok {
    				a.setFloat(fA)
    			} else {
    				return fmt.Errorf("Could not convert %s to a number", a.String())
    			}
    
    		case bool:
    			if bA, ok := a.bytesToBool(); ok {
    				a.setBool(bA)
    			} else {
    				return fmt.Errorf("Could not convert %s to a boolean", a.String())
    			}
    
    		default:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  4. docs_src/additional_responses/tutorial003_py39.py

                    }
                },
            },
        },
    )
    async def read_item(item_id: str):
        if item_id == "foo":
            return {"id": "foo", "value": "there goes my hero"}
        else:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 837 bytes
    - Click Count (0)
  5. internal/bucket/bandwidth/reader.go

    			need = int(math.Min(float64(b-hdr), float64(need))) // use remaining tokens towards payload
    			tokens = need + hdr
    		} else { // part of header can be accommodated
    			r.opts.HeaderSize -= b - 1
    			need = 1 // to ensure we read at least one byte for every Read
    			tokens = b
    		}
    	} else { // all tokens go towards payload
    		need = int(math.Min(float64(b), float64(need)))
    		tokens = need
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  6. clause/insert.go

    	if insert.Modifier != "" {
    		builder.WriteString(insert.Modifier)
    		builder.WriteByte(' ')
    	}
    
    	builder.WriteString("INTO ")
    	if insert.Table.Name == "" {
    		builder.WriteQuoted(currentTable)
    	} else {
    		builder.WriteQuoted(insert.Table)
    	}
    }
    
    // MergeClause merge insert clause
    func (insert Insert) MergeClause(clause *Clause) {
    	if v, ok := clause.Expression.(Insert); ok {
    		if insert.Modifier == "" {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Mar 09 09:07:00 GMT 2020
    - 767 bytes
    - Click Count (0)
  7. helm/minio/templates/pvc.yaml

      resources:
        requests:
          storage: {{ .Values.persistence.size | quote }}
      {{- if .Values.persistence.storageClass }}
      {{- if (eq "-" .Values.persistence.storageClass) }}
      storageClassName: ""
      {{- else }}
      storageClassName: "{{ .Values.persistence.storageClass }}"
      {{- end }}
      {{- end }}
      {{- if .Values.persistence.volumeName }}
      volumeName: "{{ .Values.persistence.volumeName }}"
      {{- end }}
    {{- end }}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Apr 30 06:59:40 GMT 2023
    - 1014 bytes
    - Click Count (0)
  8. docs/extensions/s3zip/examples/aws-js/main.js

        on('build', function(req) { req.httpRequest.headers['X-Minio-Extract'] = 'true'; }).
        send(function(err, data) {
            if (err) {
                console.log("Error", err);
            } else {
                console.log("Success", data);
            }
        });
    
    
    // Download a file in the archive and store it in /tmp/data.csv
    var file = require('fs').createWriteStream('/tmp/data.csv');
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Jun 10 15:17:03 GMT 2021
    - 1K bytes
    - Click Count (0)
  9. helm/minio/templates/console-ingress.yaml

                pathType: Prefix
                backend:
                  service:
                    name: {{ $fullName }}
                    port: 
                      number: {{ $servicePort }}
                {{- else }}
                backend:
                  serviceName: {{ $fullName }}
                  servicePort: {{ $servicePort }}
                {{- end }}
          {{- if . }}
          host: {{ tpl . $ | quote }}
          {{- end }}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 03 06:27:17 GMT 2023
    - 1.7K bytes
    - Click Count (0)
  10. helm/minio/templates/ingress.yaml

                pathType: Prefix
                backend:
                  service:
                    name: {{ $fullName }}
                    port: 
                      number: {{ $servicePort }}
                {{- else }}
                backend:
                  serviceName: {{ $fullName }}
                  servicePort: {{ $servicePort }}
                {{- end }}
          {{- if . }}
          host: {{ tpl . $ | quote }}
          {{- end }}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 03 06:27:17 GMT 2023
    - 1.6K bytes
    - Click Count (0)
Back to Top