Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for setRead (0.17 sec)

  1. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultConfigurableUserClassFilePermissions.java

        @Inject
        public DefaultConfigurableUserClassFilePermissions(int unixNumeric) {
            setRead(isRead(unixNumeric));
            setWrite(isWrite(unixNumeric));
            setExecute(isExecute(unixNumeric));
        }
    
        @Override
        public void unix(String unixSymbolic) {
            setRead(isRead(unixSymbolic));
            setWrite(isWrite(unixSymbolic));
            setExecute(isExecute(unixSymbolic));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/file/ConfigurableUserClassFilePermissions.java

         * <p>
         * Read access grants the capability to view the contents of a file,
         * or to list the contents of a directory.
         */
        void setRead(boolean read);
    
        /**
         * Enables or disables write access to a file or directory for a certain class of users.
         * <p>
         * Write access grants the capability to modify or remove the contents of a file,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 12:31:43 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

      ResourceId GetResourceId() const { return resource_id_; }
    
      void SetAlloc() { effects_.set(kAlloc); }
      void SetFree() { effects_.set(kFree); }
      void SetRead() { effects_.set(kRead); }
      void SetWrite() { effects_.set(kWrite); }
      void SetUnknownEffect() { effects_.set(); }
      void SetResourceId(ResourceId resource_id) { resource_id_ = resource_id; }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/shift/dead.go

    func updateDead(info *types.Info, dead map[ast.Node]bool, node ast.Node) {
    	if dead[node] {
    		// The node is already marked as dead.
    		return
    	}
    
    	// setDead marks the node and all the children as dead.
    	setDead := func(n ast.Node) {
    		ast.Inspect(n, func(node ast.Node) bool {
    			if node != nil {
    				dead[node] = true
    			}
    			return true
    		})
    	}
    
    	switch stmt := node.(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 06 18:23:38 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  5. src/hash/maphash/maphash_test.go

    	for i := 0; i < 1000; i++ {
    		h := new(Hash)
    		h.SetSeed(s)
    		m[h.Sum64()] = struct{}{}
    	}
    	if len(m) != 1 {
    		t.Errorf("seeded hash is random: got %d, want 1", len(m))
    	}
    }
    
    func TestHashGrouping(t *testing.T) {
    	b := bytes.Repeat([]byte("foo"), 100)
    	hh := make([]*Hash, 7)
    	for i := range hh {
    		hh[i] = new(Hash)
    	}
    	for _, h := range hh[1:] {
    		h.SetSeed(hh[0].Seed())
    	}
    	hh[0].Write(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  6. src/hash/maphash/maphash.go

    //
    // Each Seed value is local to a single process and cannot be serialized
    // or otherwise recreated in a different process.
    type Seed struct {
    	s uint64
    }
    
    // Bytes returns the hash of b with the given seed.
    //
    // Bytes is equivalent to, but more convenient and efficient than:
    //
    //	var h Hash
    //	h.SetSeed(seed)
    //	h.Write(b)
    //	return h.Sum64()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 19:15:34 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorTest.java

            SomeBean bean = new SomeBean();
    
            Xpp3Dom config = toConfig("<file>test</file>");
    
            DefaultBeanConfigurationRequest request = new DefaultBeanConfigurationRequest();
            request.setBean(bean).setConfiguration(config);
    
            configurator.configureBean(request);
    
            assertEquals(new File("test"), bean.file);
        }
    
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. src/hash/maphash/example_test.go

    	fmt.Printf("%#x\n", h.Sum64())
    
    	// Reset discards all data previously added to the Hash, without
    	// changing its seed.
    	h.Reset()
    
    	// Use SetSeed to create a new Hash h2 which will behave
    	// identically to h.
    	var h2 maphash.Hash
    	h2.SetSeed(h.Seed())
    
    	h.WriteString("same")
    	h2.WriteString("same")
    	fmt.Printf("%#x == %#x\n", h.Sum64(), h2.Sum64())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 24 01:59:55 UTC 2020
    - 933 bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

            SomeBean bean = new SomeBean();
    
            Xpp3Dom config = toConfig("<file>test</file>");
    
            DefaultBeanConfigurationRequest request = new DefaultBeanConfigurationRequest();
            request.setBean(bean).setConfiguration(config);
    
            configurator.configureBean(request);
    
            assertEquals(Paths.get("test"), bean.file);
        }
    
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilder.java

        }
    
        public PopularWordsRequestBuilder addLanguage(final String lang) {
            request.addLanguage(lang);
            return this;
        }
    
        public PopularWordsRequestBuilder setSeed(final String seed) {
            request.setSeed(seed);
            return this;
        }
    
        public PopularWordsRequestBuilder setWindowSize(final int windowSize) {
            request.setWindowSize(windowSize);
            return this;
        }
    
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top