Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 968 for yield (0.07 sec)

  1. guava/src/com/google/common/primitives/Chars.java

      /**
       * Returns a big-endian representation of {@code value} in a 2-element byte array; equivalent to
       * {@code ByteBuffer.allocate(2).putChar(value).array()}. For example, the input value {@code
       * '\\u5432'} would yield the byte array {@code {0x54, 0x32}}.
       *
       * <p>If you need to convert and concatenate several values (possibly even of different types),
       * use a shared {@link java.nio.ByteBuffer} instance, or use {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. src/time/sleep_test.go

    		} else {
    			c <- true
    		}
    	}
    
    	AfterFunc(0, f)
    	<-c
    }
    
    func TestTickerStress(t *testing.T) {
    	var stop atomic.Bool
    	go func() {
    		for !stop.Load() {
    			runtime.GC()
    			// Yield so that the OS can wake up the timer thread,
    			// so that it can generate channel sends for the main goroutine,
    			// which will eventually set stop = 1 for us.
    			Sleep(Nanosecond)
    		}
    	}()
    	ticker := NewTicker(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:33:57 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_custom_aggregation_ops.mlir

          %6 = "tf.Identity"(%5) {device = ""} : (tensor<1x3xf32>) -> tensor<1x3xf32>
          "tf.Yield"(%4, %6) {device = ""} : (tensor<i1>, tensor<1x3xf32>) -> ()
        }, {
          %4 = "tf.Identity"(%cst_3) {device = ""} : (tensor<i1>) -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Shorts.java

      /**
       * Returns a big-endian representation of {@code value} in a 2-element byte array; equivalent to
       * {@code ByteBuffer.allocate(2).putShort(value).array()}. For example, the input value {@code
       * (short) 0x1234} would yield the byte array {@code {0x12, 0x34}}.
       *
       * <p>If you need to convert and concatenate several values (possibly even of different types),
       * use a shared {@link java.nio.ByteBuffer} instance, or use {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Shorts.java

      /**
       * Returns a big-endian representation of {@code value} in a 2-element byte array; equivalent to
       * {@code ByteBuffer.allocate(2).putShort(value).array()}. For example, the input value {@code
       * (short) 0x1234} would yield the byte array {@code {0x12, 0x34}}.
       *
       * <p>If you need to convert and concatenate several values (possibly even of different types),
       * use a shared {@link java.nio.ByteBuffer} instance, or use {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

            newStartedThread(
                new CheckedRunnable() {
                  @Override
                  public void realRun() {
                    while (!a.compareAndSet(0, 2.0, 3.0)) {
                      Thread.yield();
                    }
                  }
                });
    
        assertTrue(a.compareAndSet(0, 1.0, 2.0));
        awaitTermination(t);
        assertBitEquals(3.0, a.get(0));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler.go

    	// A response via different Accept encodings (eg: protobuf, json) will
    	// yield the same etag. This is okay because Accept is part of the Vary header.
    	// Per RFC7231 a client must only cache a response etag pair if the header field
    	// matches as indicated by the Vary field. Thus, protobuf and json and other Accept
    	// encodings will not be cached as the same response despite having the same etag.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 00:29:39 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/sql-databases-peewee.md

    ```Python hl_lines="23-29"
    {!../../../docs_src/sql_databases_peewee/sql_app/main.py!}
    ```
    
    Here we have an empty `yield` because we are actually not using the database object directly.
    
    It is connecting to the database and storing the connection data in an internal variable that is independent for each request (using the `contextvars` tricks from above).
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 16 13:23:25 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Longs.java

       * Returns a big-endian representation of {@code value} in an 8-element byte array; equivalent to
       * {@code ByteBuffer.allocate(8).putLong(value).array()}. For example, the input value {@code
       * 0x1213141516171819L} would yield the byte array {@code {0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
       * 0x18, 0x19}}.
       *
       * <p>If you need to convert and concatenate several values (possibly even of different types),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Longs.java

       * Returns a big-endian representation of {@code value} in an 8-element byte array; equivalent to
       * {@code ByteBuffer.allocate(8).putLong(value).array()}. For example, the input value {@code
       * 0x1213141516171819L} would yield the byte array {@code {0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
       * 0x18, 0x19}}.
       *
       * <p>If you need to convert and concatenate several values (possibly even of different types),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 28.8K bytes
    - Viewed (0)
Back to top