Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 146 for SetMode (0.26 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestWorkspaceBuilder.groovy

        }
    
        TestFile file(String name) {
            baseDir.file(name).createFile()
        }
    
        TestFile link(String name, String target) {
            baseDir.file(name).createLink(target)
        }
    
        def setMode(int mode) {
            baseDir.mode = mode
        }
    
        def methodMissing(String name, Object args) {
            if (args.length == 1 && args[0] instanceof Closure) {
                baseDir.file(name).create(args[0])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/math/big/floatexample_test.go

    			// sample operands above require 2 bits to represent mantissa
    			// set binary precision to 2 to round them to integer values
    			f := new(big.Float).SetPrec(2).SetMode(mode).SetFloat64(f64)
    			fmt.Printf("  %*g", len(mode.String()), f)
    		}
    		fmt.Println()
    	}
    
    	// Output:
    	//    x  ToNearestEven  ToNearestAway  ToZero  AwayFromZero  ToNegativeInf  ToPositiveInf
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyPermissionsIntegrationTest.groovy

    		            it.mode = 0755
    	            }
                    into ("build/tmp")
                }
                """
            when:
            executer.expectDocumentedDeprecationWarning("The CopyProcessingSpec.setMode() method has been deprecated. " +
                "This is scheduled to be removed in Gradle 9.0. " +
                "Please use the permissions(Action) method instead. " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 20K bytes
    - Viewed (0)
  4. src/cmd/go/internal/telemetrycmd/telemetry.go

    		cmd.Usage()
    	}
    
    	mode := args[0]
    	if mode != "local" && mode != "off" && mode != "on" {
    		cmd.Usage()
    	}
    	if old := telemetry.Mode(); old == mode {
    		return
    	}
    
    	if err := telemetry.SetMode(mode); err != nil {
    		base.Fatalf("go: failed to set the telemetry mode to %s: %v", mode, err)
    	}
    	if mode == "on" {
    		fmt.Fprintln(os.Stderr, telemetryOnMessage())
    	}
    }
    
    func telemetryOnMessage() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 20:16:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/file/FileCopyDetails.java

         *
         * @param mode the Unix permissions, e.g. {@code 0644}.
         *
         * @deprecated Use {@link #permissions(Action)} instead. This method is scheduled for removal in Gradle 9.0.
         */
        @Deprecated
        void setMode(int mode);
    
        /**
         * Configuration action for specifying file and directory access permissions.
         * For details see {@link ConfigurableFilePermissions}.
         *
         * @since 8.3
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 12:31:43 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. src/cmd/distpack/pack.go

    	// Start with files from GOROOT, filtering out non-distribution files.
    	base, err := NewArchive(goroot)
    	if err != nil {
    		log.Fatal(err)
    	}
    	base.SetTime(versionTime)
    	base.SetMode(mode)
    	base.Remove(
    		".git/**",
    		".gitattributes",
    		".github/**",
    		".gitignore",
    		"VERSION.cache",
    		"misc/cgo/*/_obj/**",
    		"**/.DS_Store",
    		"**/*.exe~", // go.dev/issue/23894
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/NormalizingCopyActionDecorator.java

            @Override
            public void setRelativePath(RelativePath path) {
                throw new UnsupportedOperationException();
            }
    
            @Override
            @Deprecated
            public void setMode(int mode) {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public void permissions(Action<? super ConfigurableFilePermissions> configureAction) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 10:41:40 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. src/math/big/bits_test.go

    	if mode == ToNearestAway {
    		panic("not yet implemented")
    	}
    	if mode == ToNearestEven && rbit == 1 && (sbit == 1 || sbit == 0 && bit0 != 0) || mode == AwayFromZero {
    		// round away from zero
    		f.SetMode(ToZero).SetPrec(prec)
    		f.Add(f, Bits{int(r) + 1}.Float())
    	}
    	return f
    }
    
    // Float returns the *Float z of the smallest possible precision such that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

            }
    
            final ExtractData data = new ExtractData();
            final HttpPost httpPost = new HttpPost(url);
            final HttpEntity postEntity = MultipartEntityBuilder.create().setMode(HttpMultipartMode.BROWSER_COMPATIBLE)
                    .setCharset(Charset.forName("UTF-8")).addBinaryBody("filedata", in).build();
            httpPost.setEntity(postEntity);
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

            if (isWindows()) {
                return
            }
            def perms = PosixFilePermissions.fromString(permissions)
            Files.setPosixFilePermissions(file.toPath(), perms)
        }
    
        void setMode(int mode) {
            // TODO: Remove this entirely and use built-in Files.setPosixFilePermissions
            def process = ["chmod", Integer.toOctalString(mode), file.absolutePath].execute()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top