Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,343 for sean (0.07 sec)

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

                    set(bean, field, fieldValue)
                }
            }
            if (bean is ModelObject) {
                bean.attachModelProperties()
            }
        }
    
        private
        fun ReadContext.set(bean: Any, field: Field, value: Any?) {
            val type = field.type
            if (isAssignableTo(type, value)) {
                field.set(bean, value)
            } else if (value != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/JavaObjectSerializationCodec.kt

            ReadResolve,
            WriteObject,
            ReadObject,
            SerializedLambda
        }
    
        private
        fun readResolve(bean: Any): Any =
            when (val readResolve = readResolveMethod.forObject(bean)) {
                null -> bean
                else -> readResolve.invoke(bean)
            }
    
        /**
         * Caches the computed `readObject` method hierarchies during decoding because [ReadContext.decode] might
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultValueSnapshotterTest.groovy

            snapshotter.snapshot([new Bean(prop: "value1"), new Bean(prop: "value2")], snapshot4).is(snapshot4)
            snapshotter.snapshot([new Bean(prop: "value1"), new Bean(prop: "value3")], snapshot4) != snapshot4
    
            def snapshot5 = snapshotter.snapshot(["abc", "123"])
            def snapshot6 = snapshotter.snapshot(["abc", "123", "xyz"], snapshot5)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaSerializationIntegrationTest.groovy

                    }
                }
    
                class SomeTask extends DefaultTask {
                    private final SomeBean bean = new SomeBean()
    
                    @TaskAction
                    void run() {
                        println "bean = " + bean
                        println "bean.value = " + bean.value
                    }
                }
    
                task ok(type: SomeTask)
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorTest.java

            SomeBean bean = new SomeBean();
    
            Xpp3Dom config = toConfig("<file>test</file>");
    
            DefaultBeanConfigurationRequest request = new DefaultBeanConfigurationRequest();
            request.setBean(bean).setConfiguration(config);
    
            configurator.configureBean(request);
    
            assertEquals(new File("test"), bean.file);
        }
    
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/Stats.java

            mean += (value - mean) / (index + 1);
          } else {
            mean = calculateNewMeanNonFinite(mean, value);
          }
        }
        return mean;
      }
    
      /**
       * Returns the <a href="http://en.wikipedia.org/wiki/Arithmetic_mean">arithmetic mean</a> of the
       * values. The count must be non-zero.
       *
       * <p>The definition of the mean is the same as {@link Stats#mean}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 22K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSupportedTypesIntegrationTest.groovy

                    private final SomeBean bean = new SomeBean()
                    private final ${type} value
    
                    SomeTask() {
                        value = ${reference}
                        bean.value = ${reference}
                    }
    
                    @TaskAction
                    void run() {
                        println "this.value = " + value
                        println "bean.value = " + bean.value
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheUnsupportedTypesIntegrationTest.groovy

                    private final ${baseType.name} badReference
                    private final bean = new SomeBean()
                    private final beanWithSameType = new SomeBean()
    
                    SomeTask() {
                        badReference = ${reference}
                        bean.badReference = ${reference}
                        beanWithSameType.badReference = ${reference}
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  9. src/runtime/malloc.go

    		span = c.allocLarge(size, noscan)
    		span.freeindex = 1
    		span.allocCount = 1
    		size = span.elemsize
    		x = unsafe.Pointer(span.base())
    		if needzero && span.needzero != 0 {
    			delayedZeroing = true
    		}
    		if !noscan {
    			// Tell the GC not to look at this yet.
    			span.largeType = nil
    			header = &span.largeType
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

            twoValuesAccumulator.xStats().mean(),
            twoValuesAccumulator.yStats().mean(),
            twoValuesAccumulator.xStats().populationVariance(),
            twoValuesAccumulator.populationCovariance());
        assertDiagonalLinearTransformation(
            twoValuesAccumulatorByAddAllPartitionedPairedStats.leastSquaresFit(),
            twoValuesAccumulatorByAddAllPartitionedPairedStats.xStats().mean(),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 23.4K bytes
    - Viewed (0)
Back to top