Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 22 for oh (0.01 seconds)

  1. src/bufio/net_test.go

    				return
    			}
    			if err != nil {
    				t.Error(err)
    				return
    			}
    		}
    	}()
    
    	clientConn, err := net.DialUnix("unixpacket", nil, addr)
    	if err != nil {
    		// Leaves the server goroutine hanging. Oh well.
    		t.Fatal(err)
    	}
    
    	defer wg.Wait()
    	defer clientConn.Close()
    
    	const data = "data"
    	r := bufio.NewReader(strings.NewReader(data))
    	n, err := io.Copy(clientConn, r)
    	if err != nil {
    		t.Fatal(err)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 07 19:37:07 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. .gitignore

    /incoming-distributions
    /intTestHomeDir
    
    # Logs
    # ----
    /*.log
    
    # Thread dumps for troubleshooting
    *.threaddump
    # ps output for cleaning up leaking Java processes
    *.psoutput
    
    # oh-my-zsh gradle plugin
    .gradletasknamecache
    
    # Added GE support maven support to the maven build in .teamcity, per the GE docs, this dir is NOT to be committed
    .teamcity/.mvn/.develocity/
    /discoclient.properties
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 16:15:24 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/advanced-python-types.md

    def say_hi(name: Optional[str]):
        print(f"Hey {name}!")
    ```
    
    The parameter `name` is defined as `Optional[str]`, but it is **not optional**, you cannot call the function without the parameter:
    
    ```Python
    say_hi()  # Oh, no, this throws an error! 😱
    ```
    
    The `name` parameter is **still required** (not *optional*) because it doesn't have a default value. Still, `name` accepts `None` as the value:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 2K bytes
    - Click Count (0)
  4. android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

        assertEquals(6, (int) future.get());
      }
    
      public void testSameThreadScheduledExecutorWithException() throws InterruptedException {
        Runnable runnable =
            () -> {
              throw new RuntimeException("Oh no!");
            };
    
        Future<?> future = TestingExecutors.sameThreadScheduledExecutor().submit(runnable);
        assertThrows(ExecutionException.class, future::get);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  5. guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

        assertEquals(6, (int) future.get());
      }
    
      public void testSameThreadScheduledExecutorWithException() throws InterruptedException {
        Runnable runnable =
            () -> {
              throw new RuntimeException("Oh no!");
            };
    
        Future<?> future = TestingExecutors.sameThreadScheduledExecutor().submit(runnable);
        assertThrows(ExecutionException.class, future::get);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  6. cmd/admin-heal-ops.go

    ) {
    	if h.forceStarted {
    		_, apiErr = ahs.stopHealSequence(pathJoin(h.bucket, h.object))
    		if apiErr.Code != "" {
    			return respBytes, apiErr, ""
    		}
    	} else {
    		oh, exists := ahs.getHealSequence(pathJoin(h.bucket, h.object))
    		if exists && !oh.hasEnded() {
    			errMsg = "Heal is already running on the given path " +
    				"(use force-start option to stop and start afresh). " +
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                            break;
                        case 'b':
                            out.append('\b');
                            break;
                        case 'u':
                            // uh-oh, we're in unicode country....
                            inUnicode = true;
                            break;
                        default:
                            out.append(ch);
                            break;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

                            break;
                        case 'b':
                            out.append('\b');
                            break;
                        case 'u':
                            // uh-oh, we're in unicode country....
                            inUnicode = true;
                            break;
                        default:
                            out.append(ch);
                            break;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/ByteStreams.java

            }
            off += r;
            totalLen += r;
          }
        }
    
        // read MAX_ARRAY_LEN bytes without seeing end of stream
        if (in.read() == -1) {
          // oh, there's the end of the stream
          return combineBuffers(bufs, MAX_ARRAY_LEN);
        } else {
          throw new OutOfMemoryError("input is too large to fit in a byte array");
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  10. docs/es/docs/advanced/advanced-python-types.md

    def say_hi(name: Optional[str]):
        print(f"Hey {name}!")
    ```
    
    El parámetro `name` está definido como `Optional[str]`, pero **no es opcional**, no puedes llamar a la función sin el parámetro:
    
    ```Python
    say_hi()  # ¡Oh, no, esto lanza un error! 😱
    ```
    
    El parámetro `name` **sigue siendo requerido** (no es *opcional*) porque no tiene un valor por defecto. Aun así, `name` acepta `None` como valor:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 2.1K bytes
    - Click Count (0)
Back to Top