Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1161 - 1170 of 2,283 for else (0.03 sec)

  1. cmd/bitrot-streaming.go

    }
    
    func (b *streamingBitrotWriter) Close() error {
    	// Close the underlying writer.
    	// This will also flush the ring buffer if used.
    	err := b.iow.Close()
    
    	// Wait for all data to be written before returning else it causes race conditions.
    	// Race condition is because of io.PipeWriter implementation. i.e consider the following
    	// sequent of operations:
    	// 1) pipe.Write()
    	// 2) pipe.Close()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 12:20:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. src/main/webapp/js/admin/plugins/form-validator/file.js

    eRatio=function(a,b,c){var d=a.width/a.height,e=function(a){var b=a.replace("max","").replace("min","").split(":");return b[0]/b[1]},f=b.split("-"),g=function(a,b,c){return a>=b&&a<=c};if(1===f.length){if(d!==e(f[0]))return c.imageRatioNotAccepted}else if(2===f.length&&!g(d,e(f[0]),e(f[1])))return c.imageRatioNotAccepted;return!1},a.formUtils.addAsyncValidator({name:"dimension",validatorFunction:function(b,d,e,g,h){if(c){var i=e.get(0).files||[],j=this;e.attr("data-validation").indexOf("mime")===-1?(alert("You...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    			linesOut = append(linesOut, line)
    		} else {
    			linesOut = append(linesOut, "")
    
    			// #cgo (nocallback|noescape) <function name>
    			if fields := strings.Fields(l); len(fields) == 3 {
    				directive := fields[1]
    				funcName := fields[2]
    				if directive == "nocallback" {
    					f.NoCallbacks[funcName] = true
    				} else if directive == "noescape" {
    					f.NoEscapes[funcName] = true
    				}
    			}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/RegularImmutableMap.java

                (keyBucketHead == null)
                    ? makeImmutable(entry, key, value)
                    : new NonTerminalImmutableMapEntry<K, V>(key, value, keyBucketHead);
            table[tableIndex] = effectiveEntry;
          } else {
            // We already saw this key, and the first value we saw (going backwards) is the one we are
            // keeping. So we won't touch table[], but we do still want to add the existing entry that
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. cni/pkg/install/install.go

    		if err != nil {
    			cniInstalls.With(resultLabel.Value(resultCreateCNIConfigFailure)).Increment()
    			return copiedFiles, fmt.Errorf("create CNI config file: %v", err)
    		}
    		in.cniConfigFilepath = cfgPath
    	} else {
    		installLog.Infof("valid Istio config present in node-level CNI file %s, not modifying", in.cniConfigFilepath)
    	}
    
    	return copiedFiles, nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. fastapi/openapi/models.py

        not_: Optional["SchemaOrBool"] = Field(default=None, alias="not")
        if_: Optional["SchemaOrBool"] = Field(default=None, alias="if")
        then: Optional["SchemaOrBool"] = None
        else_: Optional["SchemaOrBool"] = Field(default=None, alias="else")
        dependentSchemas: Optional[Dict[str, "SchemaOrBool"]] = None
        prefixItems: Optional[List["SchemaOrBool"]] = None
        # TODO: uncomment and remove below when deprecating Pydantic v1
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

        }
    
        public static Ansi ansi() {
            if (isEnabled()) {
                return new Ansi();
            } else {
                return new NoAnsi();
            }
        }
    
        public static Ansi ansi(StringBuilder builder) {
            if (isEnabled()) {
                return new Ansi(builder);
            } else {
                return new NoAnsi(builder);
            }
        }
    
        public static Ansi ansi(int size) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. tests/test_infer_param_optionality.py

            return [{"item_id": "i1", "user_id": "u1"}, {"item_id": "i2", "user_id": "u2"}]
        else:
            return [{"item_id": "i2", "user_id": user_id}]
    
    
    @item_router.get("/{item_id}")
    def get_item(item_id: str, user_id: Optional[str] = None):
        if user_id is None:
            return {"item_id": item_id}
        else:
            return {"item_id": item_id, "user_id": user_id}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  9. src/archive/tar/common.go

    // converted to the other form and back. The various tar formats with sparse
    // file support represent sparse files in the sparseDatas form. That is, they
    // specify the fragments in the file that has data, and treat everything else as
    // having zero bytes. As such, the encoding and decoding logic in this package
    // deals with sparseDatas.
    //
    // However, the external API uses sparseHoles instead of sparseDatas because the
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v1_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "Distribution")
    				return
    			}
    			if cap(z.Distribution) >= int(zb0002) {
    				z.Distribution = (z.Distribution)[:zb0002]
    			} else {
    				z.Distribution = make([]int, zb0002)
    			}
    			for za0001 := range z.Distribution {
    				z.Distribution[za0001], err = dc.ReadInt()
    				if err != nil {
    					err = msgp.WrapError(err, "Distribution", za0001)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
Back to top