Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 318 for xHello (0.08 sec)

  1. docs_src/bigger_applications/app_an_py39/main.py

        prefix="/admin",
        tags=["admin"],
        dependencies=[Depends(get_token_header)],
        responses={418: {"description": "I'm a teapot"}},
    )
    
    
    @app.get("/")
    async def root():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 552 bytes
    - Viewed (0)
  2. internal/pubsub/pubsub_test.go

    	doneCh1 := make(chan struct{})
    	defer close(doneCh1)
    	if err := ps.Subscribe(MaskAll, ch1, doneCh1, func(entry Maskable) bool { return true }); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	val := maskString("hello")
    	ps.Publish(val)
    	msg := <-ch1
    	if msg != val {
    		t.Fatalf("expected %s , found %s", val, msg)
    	}
    }
    
    func TestMultiPubSub(t *testing.T) {
    	ps := New[Maskable, Maskable](2)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(TypeToken.of(String.class), invokable.getParameters().get(1).getType());
      }
    
      public void testAnonymousClassDefaultConstructor() {
        final int i = 1;
        final String s = "hello world";
        Class<?> anonymous =
            new Runnable() {
              @Override
              public void run() {
                System.out.println(s + i);
              }
            }.getClass();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(TypeToken.of(String.class), invokable.getParameters().get(1).getType());
      }
    
      public void testAnonymousClassDefaultConstructor() {
        final int i = 1;
        final String s = "hello world";
        Class<?> anonymous =
            new Runnable() {
              @Override
              public void run() {
                System.out.println(s + i);
              }
            }.getClass();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/FilesTest.java

        PrintWriter w = new PrintWriter(Files.newWriter(temp, UTF_8));
        w.println("hello");
        w.println("");
        w.println(" world  ");
        w.println("");
        w.close();
    
        assertEquals("hello", Files.readFirstLine(temp, UTF_8));
        assertEquals(ImmutableList.of("hello", "", " world  ", ""), Files.readLines(temp, UTF_8));
    
        assertTrue(temp.delete());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/SocksProxy.kt

            val fromSink = from.sink().buffer()
            hello(fromSource, fromSink)
            acceptCommand(from.inetAddress, fromSource, fromSink)
            openSockets.add(from)
          } catch (e: IOException) {
            logger.log(Level.WARNING, "$name failed", e)
            from.closeQuietly()
          }
        }
      }
    
      private fun hello(
        fromSource: BufferedSource,
        fromSink: BufferedSink,
      ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. docs_src/behind_a_proxy/tutorial001.py

    from fastapi import FastAPI, Request
    
    app = FastAPI()
    
    
    @app.get("/app")
    def read_main(request: Request):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jun 11 21:53:19 UTC 2020
    - 189 bytes
    - Viewed (0)
  8. docs_src/configure_swagger_ui/tutorial001.py

    from fastapi import FastAPI
    
    app = FastAPI(swagger_ui_parameters={"syntaxHighlight": False})
    
    
    @app.get("/users/{username}")
    async def read_user(username: str):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 205 bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/ResponseBodyTest.kt

              val source = Buffer().writeUtf8("hello")
              return object : ForwardingSource(source) {
                @Throws(IOException::class)
                override fun close() {
                  throw IOException("Broken!")
                }
              }.buffer()
            }
          }
        assertThat(body.source().readUtf8()).isEqualTo("hello")
        body.close()
      }
    
      @Test
      fun unicodeText() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. doc/initial/1-intro.md

    <!--
    NOTE: In this document and others in this directory, the convention is to
    set fixed-width phrases with non-fixed-width spaces, as in
    `hello` `world`.
    -->
    
    <style>
      main ul li { margin: 0.5em 0; }
    </style>
    
    ## DRAFT RELEASE NOTES — Introduction to Go 1.N {#introduction}
    
    **Go 1.N is not yet released. These are work-in-progress release notes.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed May 22 18:25:26 UTC 2024
    - 406 bytes
    - Viewed (0)
Back to top