Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,024 for yield (0.05 sec)

  1. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanSchema.kt

    )
    
    
    private
    val Class<*>.relevantFields: Sequence<Field>
        get() = declaredFields.asSequence()
            .filterNot { field ->
                field.isStatic
                    || field.isTransient
                    || Workarounds.isIgnoredBeanField(field)
            }.filter { field ->
                isNotAbstractTaskField(field)
                    || field.name in abstractTaskRelevantFields
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

              taskRunner: TaskRunner,
              nanos: Long,
            ) {
              taskRunner.assertThreadHoldsLock()
              check(waitingCoordinatorTask == null)
              if (nanos == 0L) return
    
              // Yield until notified, interrupted, or the duration elapses.
              val waitUntil = nanoTime + nanos
              val self = currentTask
              waitingCoordinatorTask = self
              waitingCoordinatorNotified = false
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinFileBasedDeclarationProvider.kt

                    for (child in kotlinFile.declarations) {
                        if (child is KtScript) {
                            yieldAll(child.declarations)
                        } else {
                            yield(child)
                        }
                    }
                }
            }
    
        override fun getClassLikeDeclarationByClassId(classId: ClassId): KtClassLikeDeclaration? {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-problems-base/src/main/kotlin/org/gradle/internal/configuration/problems/PropertyProblem.kt

                is SystemProperty -> trace
                is Project -> trace
                else -> null
            }
    }
    
    
    enum class PropertyKind {
        Field {
            override fun toString() = "field"
        },
        PropertyUsage {
            override fun toString() = "property usage"
        },
        InputProperty {
            override fun toString() = "input property"
        },
        OutputProperty {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 21:59:50 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/scopes/KtFe10ScopeResolution.kt

            return scope.getClassifierNames() ?: emptySet()
        }
    
        override fun getConstructors(): Sequence<KaConstructorSymbol> = sequence {
            constructors.forEach { yield(it.toKtConstructorSymbol(analysisContext)) }
        }
    }
    
    internal open class KaFe10ScopeNonStaticMember(
        scope: MemberScope,
        constructors: Collection<ConstructorDescriptor>,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

          outlier = np.random.uniform(low=0, high=10, size=(1, 3, 4, 3)).astype(
              'f4'
          )
          outlier[0][0][0][0:2] = [-1000, 1000]
          yield {'input_tensor': ops.convert_to_tensor(outlier)}
          for _ in range(10):
            yield {
                'input_tensor': ops.convert_to_tensor(
                    np.random.uniform(low=0, high=10, size=(1, 3, 4, 3)).astype(
                        'f4'
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/quantize.mlir

        %4 = "tf.LayerNorm"(%a1, %a2, %a3, %a4) {_tfl_quant_trait = "fully_quantizable", device = ""} : (tensor<128x128xf32>, tensor<1xf32>, tensor<1xf32>, tensor<1xi32>) -> tensor<128x128xf32>
       "tfl.yield"(%4) : (tensor<128x128xf32>) -> ()
      }) {_tfl_quant_trait = "fully_quantizable", device = ""} : (tensor<128x128xf32>, tensor<1xf32>, tensor<1xf32>, tensor<1xi32>) -> tensor<128x128xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:10:13 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tf_device_passes.td

              tf_device.return %c, %b : tensor<f32>, tensor<i32>
            }) {device = "CPU:0"} : () -> (tensor<f32>, tensor<i32>)
            %d = "tf.opD"() : () -> tensor<i1>
            tf_executor.yield %a, %launch#0, %launch#1, %d :
                              tensor<i1>, tensor<f32>, tensor<i32>, tensor<i1>
          }
        ```
    
        Will be transformed into:
    
        ```mlir
          %island:5 = tf_executor.island {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. src/internal/concurrent/hashtriemap_test.go

    				for _, s := range testData {
    					expectMissing(t, s, 0)(m.Load(s))
    				}
    			}(i)
    		}
    		wg.Wait()
    	})
    }
    
    func testAll[K, V comparable](t *testing.T, m *HashTrieMap[K, V], testData map[K]V, yield func(K, V) bool) {
    	for k, v := range testData {
    		expectStored(t, k, v)(m.LoadOrStore(k, v))
    	}
    	visited := make(map[K]int)
    	m.All()(func(key K, got V) bool {
    		want, ok := testData[key]
    		if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-quant.mlir

      ^bb0(%carg0: tensor<?x!tf_type.qint8>):
        %check = "tf.Equal"(%arg1, %one) : (tensor<i32>, tensor<i32>) -> tensor<i1>
        "tf.Yield"(%check) : (tensor<i1>) -> ()
        }, {
      ^bb0(%barg0: tensor<?x!tf_type.qint8>):
        %id = "tf.Identity"(%barg0) : (tensor<?x!tf_type.qint8>) -> tensor<?x!tf_type.qint8>
        "tf.Yield"(%id) : (tensor<?x!tf_type.qint8>) -> ()
      }) {is_stateless = false} : (tensor<?x!tf_type.qint8>) -> tensor<?x!tf_type.qint8>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 01:25:29 UTC 2024
    - 37.3K bytes
    - Viewed (0)
Back to top