Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 71 for newValue2 (0.3 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/initialization/RootScriptDomainObjectContext.java

            }
    
            @Override
            public void set(T newValue) {
                value = newValue;
            }
    
            @Override
            public T update(Function<T, T> updateFunction) {
                synchronized (this) {
                    T newValue = updateFunction.apply(value);
                    value = newValue;
                    return newValue;
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Oct 23 18:38:36 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

       * Sets to the given value.
       *
       * @param newValue the new value
       */
      public final void set(double newValue) {
        long next = doubleToRawLongBits(newValue);
        value.set(next);
      }
    
      /**
       * Eventually sets to the given value.
       *
       * @param newValue the new value
       */
      public final void lazySet(double newValue) {
        long next = doubleToRawLongBits(newValue);
        value.lazySet(next);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 28 21:00:54 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  3. subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/CompositeInterceptorTestReceiver.java

        public String getTestString() {
            return testString;
        }
    
        public void setTestString(String newValue) {
            testString = newValue;
        }
    
        public boolean isTestFlag() {
            return testFlag;
        }
    
        public void setTestFlag(boolean newValue) {
            testFlag = newValue;
        }
    
        @Override
        public String toString() {
            return "CompositeInterceptorTestReceiver";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 11:38:52 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       *
       * @param i the index
       * @param newValue the new value
       */
      public final void set(int i, double newValue) {
        long next = doubleToRawLongBits(newValue);
        longs.set(i, next);
      }
    
      /**
       * Eventually sets the element at position {@code i} to the given value.
       *
       * @param i the index
       * @param newValue the new value
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. src/syscall/syscall_test.go

    	err := syscall.Setenv(key, value)
    	if err != nil {
    		t.Fatalf("Setenv failed to set %q: %v", value, err)
    	}
    	newvalue, found := syscall.Getenv(key)
    	if !found {
    		t.Fatalf("Getenv failed to find %v variable (want value %q)", key, value)
    	}
    	if newvalue != value {
    		t.Fatalf("Getenv(%v) = %q; want %q", key, newvalue, value)
    	}
    }
    
    func TestEnv(t *testing.T) {
    	testSetGetenv(t, "TESTENV", "AVALUE")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Mar 14 17:56:50 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  6. subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/CompositeCallInterceptionTestInterceptorsDeclaration.java

        public static void intercept_testString(
            @ParameterKind.Receiver CompositeInterceptorTestReceiver self,
            String newValue,
            @ParameterKind.CallerClassName String consumer
        ) {
            self.intercepted = "composite.setTestString(String)";
            self.setTestString(newValue);
        }
    
        @InterceptGroovyCalls
        @CallableKind.GroovyPropertyGetter
        public static boolean intercept_testFlag(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 11:38:52 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/FileWatchingFilter.java

                locationsWrittenByCurrentBuild.updateAndGet(currentValue -> {
                    FileHierarchySet newValue = currentValue;
                    for (String location : locations) {
                        newValue = newValue.plus(location);
                    }
                    return newValue;
                });
            }
        }
    
        public boolean shouldWatchLocation(String location) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:33 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/groovy/scripts/BasicScript.java

            return dynamicLookupRoutine.property(dynamicObject, property);
        }
    
        @Override
        public void setProperty(String property, Object newValue) {
            dynamicLookupRoutine.setProperty(dynamicObject, property, newValue);
        }
    
        public Map<String, ?> getProperties() {
            return dynamicLookupRoutine.getProperties(dynamicObject);
        }
    
        public boolean hasProperty(String property) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/BasicCallInterceptionTestInterceptorsDeclaration.java

        public static void intercept_testString(
            @ParameterKind.Receiver InterceptorTestReceiver self,
            String newValue,
            @ParameterKind.CallerClassName String consumer
        ) {
            self.intercepted = "setTestString(String)";
            self.setTestString(newValue);
        }
    
        @InterceptGroovyCalls
        @CallableKind.GroovyPropertyGetter
        public static boolean intercept_testFlag(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 23 08:15:56 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. pkg/api/testing/conversion.go

    			}
    			if newLabel != expectedLabel {
    				t.Errorf("kind=%s label=%s: got unexpected label name (%q != %q)", kind, label, newLabel, expectedLabel)
    			}
    			if newValue != value {
    				t.Errorf("kind=%s label=%s: got unexpected new value (%q != %q)", kind, label, newValue, value)
    			}
    		}
    	}
    
    	for _, label := range badFieldLabels {
    		_, _, err := legacyscheme.Scheme.ConvertFieldLabel(gvk, label, "value")
    		if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 07 07:01:25 UTC 2018
    - 2.4K bytes
    - Viewed (0)
Back to top