- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for setRead (0.32 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultUserClassFilePermissions.java
public DefaultUserClassFilePermissions(int unixNumeric) { read = isRead(unixNumeric); write = isWrite(unixNumeric); execute = isExecute(unixNumeric); } @Override public boolean getRead() { return read; } @Override public boolean getWrite() { return write; } @Override public boolean getExecute() { return execute; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractUserClassFilePermissions.java
* See {@link ConfigurableFilePermissions#unix(String)} for details, * returned value is equivalent to one of the three octal digits. */ protected int toUnixNumeric() { return (getRead() ? 4 : 0) + (getWrite() ? 2 : 0) + (getExecute() ? 1 : 0); } protected static boolean isRead(int unixNumeric) { return (unixNumeric & 4) >> 2 == 1; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.6K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/file/UserClassFilePermissions.java
* Describes if a certain class of users has read access to a file or directory. * <p> * Read access is the capability to view the contents of a file, or to list the contents of a directory. */ boolean getRead(); /** * Describes if a certain class of users has write access to a file or directory. * <p> * Write access is 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 - 2.3K bytes - Viewed (0)