Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 731 - 740 of 2,189 for else_ (0.03 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

            if (done) {
              System.out.println("completed");
            } else {
              if (firstUpdate) {
                firstUpdate = false;
                if (contentLength == -1) {
                  System.out.println("content-length: unknown");
                } else {
                  System.out.format("content-length: %d\n", contentLength);
                }
              }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 4.2K bytes
    - Click Count (1)
  2. build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt

            }
            parameters.onlyTestGradleVersion.get().isNotBlank() -> {
                CrossVersionBucketProvider(parameters.onlyTestGradleVersion.get())
            }
            else -> {
                NoOpTestClassProvider()
            }
        }
    
        private
        fun readTestClasses(content: String): Map<String, List<String>> {
            val properties = Properties()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  3. cmd/storage-rest-server.go

    						write([]byte(err.Error()))
    					} else {
    						write([]byte{0})
    					}
    					return
    				default:
    				}
    
    				// Response not ready, write a filler byte.
    				write([]byte{32})
    				if canWrite {
    					xhttp.Flush(w)
    				}
    			case err := <-doneCh:
    				if err != nil {
    					write([]byte{1})
    					write([]byte(err.Error()))
    				} else {
    					write([]byte{0})
    				}
    				return
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SID.java

                    str = this.domainName;
                } else if (this.type == SID_TYPE_WKN_GRP || this.domainName.equals("BUILTIN")) {
                    if (this.type == SID_TYPE_UNKNOWN) {
                        str = toString();
                    } else {
                        str = this.acctName;
                    }
                } else {
                    str = this.domainName + "\\" + this.acctName;
                }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/UnsignedLongs.java

            "radix (%s) must be between Character.MIN_RADIX and Character.MAX_RADIX",
            radix);
        if (x == 0) {
          // Simply return "0"
          return "0";
        } else if (x > 0) {
          return Long.toString(x, radix);
        } else {
          char[] buf = new char[64];
          int i = buf.length;
          if ((radix & (radix - 1)) == 0) {
            // Radix is a power of two so we can avoid division.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  6. cmd/storage-datatypes_gen.go

    	}
    	if z.Data == nil { // allownil: if nil
    		o = msgp.AppendNil(o)
    	} else {
    		o = msgp.AppendBytes(o, z.Data)
    	}
    	o = msgp.AppendInt(o, z.NumVersions)
    	o = msgp.AppendTime(o, z.SuccessorModTime)
    	o = msgp.AppendBool(o, z.Fresh)
    	o = msgp.AppendInt(o, z.Idx)
    	if z.Checksum == nil { // allownil: if nil
    		o = msgp.AppendNil(o)
    	} else {
    		o = msgp.AppendBytes(o, z.Checksum)
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 151.7K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableSet.java

            newTableSize = chooseTableSize(minCapacity);
            hashTable = new Object[newTableSize];
          } else if (minCapacity > expandTableThreshold && hashTable.length < MAX_TABLE_SIZE) {
            newTableSize = hashTable.length * 2;
            hashTable = rebuildHashTable(newTableSize, dedupedElements, distinct);
          } else {
            return;
          }
          maxRunBeforeFallback = maxRunBeforeFallback(newTableSize);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/SortedLists.java

        while (lower <= upper) {
          int middle = (lower + upper) >>> 1;
          int c = comparator.compare(key, list.get(middle));
          if (c < 0) {
            upper = middle - 1;
          } else if (c > 0) {
            lower = middle + 1;
          } else {
            return lower
                + presentBehavior.resultIndex(
                    comparator, key, list.subList(lower, upper + 1), middle - lower);
          }
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt

                val taskName =
                    if (performanceTestSpec.type == PerformanceTestType.FLAKINESS_DETECTION) {
                        "performanceTestFlakinessReport"
                    } else {
                        "performanceTestReport"
                    }
    
                setArtifactRules(
                    """
    testing/$performanceProjectName/build/performance-test-results.zip
    """,
                )
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  10. docs_src/additional_responses/tutorial002_py39.py

            }
        },
    )
    async def read_item(item_id: str, img: Union[bool, None] = None):
        if img:
            return FileResponse("image.png", media_type="image/png")
        else:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 628 bytes
    - Click Count (0)
Back to Top