Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 153 for NewValue (0.17 sec)

  1. 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)
  2. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN);
            Object newValue = new Object();
            assertSame(entry.getValue(), cache.asMap().put(entry.getKey(), newValue));
            // don't let the new entry get GCed
            warmed.add(entryOf(entry.getKey(), newValue));
            Object newKey = new Object();
            assertNull(cache.asMap().put(newKey, entry.getValue()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Count.java

        value += delta;
      }
    
      public int addAndGet(int delta) {
        return value += delta;
      }
    
      public void set(int newValue) {
        value = newValue;
      }
    
      public int getAndSet(int newValue) {
        int result = value;
        value = newValue;
        return result;
      }
    
      @Override
      public int hashCode() {
        return value;
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

                return delta;
              }
              // atomic replaced
              continue outer;
            }
    
            long newValue = oldValue + delta;
            if (atomic.compareAndSet(oldValue, newValue)) {
              return newValue;
            }
            // value changed
          }
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/BTreeIndexedCacheTest.java

                    String key = String.format("key_%d", value);
                    List<Integer> newValue = new ArrayList<Integer>(i);
                    for (int j = 0; j < i * 2; j++) {
                        newValue.add(j);
                    }
                    cache.put(key, newValue);
                    updated.put(value, newValue);
                }
    
                checkListEntries(cache, updated);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/AbstractUndeclaredBuildInputsIntegrationTest.groovy

            when:
            configurationCacheRun("thing", "-DCI=$newValue")
    
            then: 'undeclared properties are considered build inputs'
            configurationCache.assertStateStored()
            problems.assertResultHasProblems(result)
            outputContains("apply = $newValue")
            outputContains("task = $newValue")
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. 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)
Back to top