Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 4,627 for current$ (0.19 sec)

  1. src/os/user/user_test.go

    	}
    }
    
    func TestLookup(t *testing.T) {
    	checkUser(t)
    
    	want, err := Current()
    	if err != nil {
    		if hasCgo || (hasUSER && hasHOME) {
    			t.Fatalf("Current: %v", err)
    		} else {
    			t.Skipf("skipping: %v", err)
    		}
    	}
    
    	// TODO: Lookup() has a fast path that calls Current() and returns if the
    	// usernames match, so this test does not exercise very much. It would be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 15:59:43 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/integTest/groovy/org/gradle/internal/operations/BuildOperationExecutorIntegrationTest.groovy

        // This was added to keep KMP compatible with changes in Gradle 8.8
        def "can get current build operation via BuildOperationExecutor.getCurrentBuildOperation()" () {
            buildFile << """
                import org.gradle.internal.operations.*
    
                task currentBuildOperation {
                    doLast {
                        println "Current build operation: " + services.get(BuildOperationExecutor).currentOperation
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 12:12:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/query.go

    	if (query == "upgrade" || query == "patch") && current != "" && current != "none" {
    		// "upgrade" and "patch" may stay on the current version if allowed.
    		if err := allowed(ctx, module.Version{Path: path, Version: current}); errors.Is(err, ErrDisallowed) {
    			return revWithOrigin(nil), err
    		}
    		return lookup(current)
    	}
    
    	return revWithOrigin(nil), &NoMatchingVersionError{query: query, current: current}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util-generated.h.pump

          assert(!AtEnd());
          ++current$(i)_;
    
    $for k [[
          if (current$(i+2-k)_ == end$(i+2-k)_) {
            current$(i+2-k)_ = begin$(i+2-k)_;
            ++current$(i+2-k-1)_;
          }
    
    ]]
          ComputeCurrentValue();
        }
        virtual ParamIteratorInterface<ParamType>* Clone() const {
          return new Iterator(*this);
        }
        virtual const ParamType* Current() const { return &current_value_; }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/DefaultProjectComponentSelector.java

            DefaultProjectComponentSelector current = (DefaultProjectComponentSelector) selector;
            return new DefaultProjectComponentSelector(
                current.buildIdentifier,
                current.identityPath,
                current.projectPath,
                current.projectName,
                attributes,
                current.requestedCapabilities
            );
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 01:47:36 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java

            String current = getVersion();
            if (current.equals(version) || (version == null && current.isEmpty())) {
                return this;
            }
            return new RelocatedArtifact(artifact, groupId, artifactId, classifier, extension, version, message);
        }
    
        @Deprecated
        @Override
        public Artifact setFile(File file) {
            File current = getFile();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

          double nextVal = currentVal + delta;
          long next = doubleToRawLongBits(nextVal);
          if (value.compareAndSet(current, next)) {
            return nextVal;
          }
        }
      }
    
      /**
       * Returns the String representation of the current value.
       *
       * @return the String representation of the current value
       */
      @Override
      public String toString() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 28 21:00:54 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/idea/IdeaDependency.java

        /**
         * scope of the current dependency. Not-<code>null</code> all the time
         *
         * @return scope
         */
        IdeaDependencyScope getScope();
    
        /**
         * Allows to check if current dependency is transitive, i.e. is visible to the module which depends on module that has current dependency.
         *
         * @return <code>true</code> if current dependency is transitive; <code>false</code> otherwise
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. src/cmd/go/internal/base/path.go

    var cwdOnce sync.Once
    
    // UncachedCwd returns the current working directory.
    // Most callers should use Cwd, which caches the result for future use.
    // UncachedCwd is appropriate to call early in program startup before flag parsing,
    // because the -C flag may change the current directory.
    func UncachedCwd() string {
    	wd, err := os.Getwd()
    	if err != nil {
    		Fatalf("cannot determine current directory: %v", err)
    	}
    	return wd
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 20 19:17:27 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/DefaultJavaCompileSpecFactoryTest.groovy

            options.forkOptions.executable = executable ? Jvm.current().javacExecutable.absolutePath : null
    
            def javaToolchain = null
            if (toolchain != null) {
                def isCurrent = toolchain == "current"
                javaToolchain = Mock(JavaToolchain)
                javaToolchain.installationPath >> TestFiles.fileFactory().dir(Jvm.current().javaHome)
                javaToolchain.isCurrentJvm() >> isCurrent
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top