Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 107 for Yield (0.12 sec)

  1. okhttp/src/test/java/okhttp3/CacheTest.kt

        sink.writeUtf8(content)
        sink.close()
      }
    
      /**
       * @param delta the offset from the current date to use. Negative values yield dates in the past;
       * positive values yield dates in the future.
       */
      private fun formatDate(
        delta: Long,
        timeUnit: TimeUnit,
      ): String {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  2. fastapi/routing.py

                    "application code is raising an exception and a dependency with yield "
                    "has a block with a bare except, or a block with except Exception, "
                    "and is not raising the exception again. Read more about it in the "
                    "docs: https://fastapi.tiangolo.com/tutorial/dependencies/dependencies-with-yield/#dependencies-with-yield-and-except"
                )
            return response
    
        return app
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 170.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        // Since holder.value is 2, applying 4 should yield 6.
        assertEquals(6, adder.apply(4).intValue());
    
        ListenableFuture<Integer> immediateFuture = immediateFuture(4);
        Future<Integer> transformedFuture = transform(immediateFuture, adder, directExecutor());
    
        // The composed future also yields 6.
        assertEquals(6, getDone(transformedFuture).intValue());
    
        // Repeated calls yield the same value even though the function's behavior
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        // Since holder.value is 2, applying 4 should yield 6.
        assertEquals(6, adder.apply(4).intValue());
    
        ListenableFuture<Integer> immediateFuture = immediateFuture(4);
        Future<Integer> transformedFuture = transform(immediateFuture, adder, directExecutor());
    
        // The composed future also yields 6.
        assertEquals(6, getDone(transformedFuture).intValue());
    
        // Repeated calls yield the same value even though the function's behavior
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  5. src/runtime/proc.go

    //
    //go:nosplit
    func Gosched() {
    	checkTimeouts()
    	mcall(gosched_m)
    }
    
    // goschedguarded yields the processor like gosched, but also checks
    // for forbidden states and opts out of the yield in those cases.
    //
    //go:nosplit
    func goschedguarded() {
    	mcall(goschedguarded_m)
    }
    
    // goschedIfBusy yields the processor like gosched, but only does so if
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    struct {
    	T1        // field name is T1
    	*T2       // field name is T2
    	P.T3      // field name is T3
    	*P.T4     // field name is T4
    	x, y int  // field names are x and y
    }
    </pre>
    
    <p>
    The following declaration is illegal because field names must be unique
    in a struct type:
    </p>
    
    <pre>
    struct {
    	T     // conflicts with embedded field *T and *P.T
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

            "tf.Yield"() : () -> ()
          }, {
            "tf.Yield"() : () -> ()
          }) {is_stateless = false, device = "/device:CPU:0"} : (tensor<i1>) -> ()
          tf_device.return
        }) : () -> ()
        func.return
      }
      func.func @empty_func() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

      /// Performs the legalization to the TF dialect.
      void runOnOperation() override;
    };
    
    using mhlo::DotDimensionNumbersAttr;
    
    // Replaces `region`'s terminator to TF::Yield.
    void ReplaceReturnOp(Region& region, PatternRewriter& rewriter) {
      OpBuilder::InsertionGuard guard(rewriter);
    
      for (auto& block : region.getBlocks()) {
        Operation* terminator = block.getTerminator();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  9. src/net/http/server.go

    	err = c.Conn.Close()
    	log.Printf("%s.Close() = %v", c.name, err)
    	return
    }
    
    // checkConnErrorWriter writes to c.rwc and records any write errors to c.werr.
    // It only contains one field (and a pointer field at that), so it
    // fits in an interface value without an extra allocation.
    type checkConnErrorWriter struct {
    	c *conn
    }
    
    func (w checkConnErrorWriter) Write(p []byte) (n int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

              <type>String</type>
            </field>
            <field>
              <name>version</name>
              <version>4.0.0+</version>
              <required>true</required>
              <description>The current version of the artifact produced by this project.</description>
              <type>String</type>
            </field>
            <field>
              <name>packaging</name>
              <version>4.0.0+</version>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Apr 23 13:29:46 UTC 2024
    - 115.1K bytes
    - Viewed (0)
Back to top