Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 58 for newValues (0.24 sec)

  1. src/testing/testing_test.go

    			}
    		} else {
    			os.Unsetenv(test.key)
    		}
    
    		t.Run(test.name, func(t *testing.T) {
    			t.Setenv(test.key, test.newValue)
    			if os.Getenv(test.key) != test.newValue {
    				t.Fatalf("unexpected value after t.Setenv: got %s, want %s", os.Getenv(test.key), test.newValue)
    			}
    		})
    
    		got, exists := os.LookupEnv(test.key)
    		if got != test.initialValue {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. src/net/http/client_test.go

    			SetCookie(w, &Cookie{Name: "Cookie3", Value: "NewValue3", Path: "/"}) // Modify cookie in Header
    			SetCookie(w, &Cookie{Name: "Cookie4", Value: "NewValue4", Path: "/"}) // Modify cookie in Jar
    			Redirect(w, r, "/", StatusFound)
    		case "2":
    			want = map[string][]string{
    				"Cookie1": {"OldValue1a", "OldValue1b"},
    				"Cookie3": {"NewValue3"},
    				"Cookie4": {"NewValue4"},
    				"Cycle":   {"2"},
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc

          std::vector<Eigen::half> new_values;
          DenseFPElementsAttr value_attr =
              mlir::cast<DenseFPElementsAttr>(op.getValue());
          new_values.reserve(value_attr.getNumElements());
    
          constexpr float kMaxFloat16Value = 65504.f;
          constexpr float kMinFloat16Value = -65504.f;
    
          for (auto value : value_attr.template getValues<float>()) {
            new_values.push_back(Eigen::half(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          }
        }
    
        @Override
        void putThread(Waiter waiter, Thread newValue) {
          UNSAFE.putObject(waiter, WAITER_THREAD_OFFSET, newValue);
        }
    
        @Override
        void putNext(Waiter waiter, @CheckForNull Waiter newValue) {
          UNSAFE.putObject(waiter, WAITER_NEXT_OFFSET, newValue);
        }
    
        /** Performs a CAS operation on the {@link #waiters} field. */
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
  5. guava/src/com/google/common/util/concurrent/AbstractFuture.java

          }
        }
    
        @Override
        void putThread(Waiter waiter, Thread newValue) {
          UNSAFE.putObject(waiter, WAITER_THREAD_OFFSET, newValue);
        }
    
        @Override
        void putNext(Waiter waiter, @CheckForNull Waiter newValue) {
          UNSAFE.putObject(waiter, WAITER_NEXT_OFFSET, newValue);
        }
    
        /** Performs a CAS operation on the {@link #waiters} field. */
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  6. src/unique/handle.go

    	// the first one we make around, we can avoid generating
    	// more than one per racing thread.
    	var (
    		toInsert     *T // Keep this around to keep it alive.
    		toInsertWeak weak.Pointer[T]
    	)
    	newValue := func() weak.Pointer[T] {
    		if toInsert == nil {
    			toInsert = new(T)
    			*toInsert = clone(value, &m.cloneSeq)
    			toInsertWeak = weak.Make(toInsert)
    		}
    		return toInsertWeak
    	}
    	var ptr *T
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

            outputContains("execution value = someValue")
    
            when:
            configurationCacheRun("${setterSwitch}property=newValue")
    
            then:
            configurationCache.assertStateStored()
            outputContains("configuration value = newValue")
            outputContains("execution value = newValue")
    
            where:
            providerType     | setterSwitch
            "systemProperty" | "-D"
            "gradleProperty" | "-P"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/model/CalculatedModelValue.java

        T update(Function<T, T> updateFunction);
    
        /**
         * Sets the current value.
         *
         * <p>The calling thread must own the mutable state from which the value is calculated.</p>
         */
        void set(T newValue);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

            when:
            run "someTask"
    
            then:
            skipped(":someTask")
        }
    
        def "task is out of date when property type changes #oldValue -> #newValue"() {
            buildFile << """
    task someTask {
        inputs.property("a", $oldValue).optional(true)
        outputs.file "out"
        doLast ${Actions.name}.doNothing() // attach an action that is not defined by the build script
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  10. pkg/apis/storage/validation/validation_test.go

    		newValue:       nil,
    		expectError:    true, // populated by defaulting and required when feature is enabled
    	}, {
    		name:           "feature disabled, nil->nil",
    		featureEnabled: false,
    		oldValue:       nil,
    		newValue:       nil,
    		expectError:    false,
    	}, {
    		name:           "feature disabled, nil->set",
    		featureEnabled: false,
    		oldValue:       nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
Back to top