- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 792 for Prefer (0.08 seconds)
-
internal/config/callhome/callhome.go
// Enabled - indicates if callhome is enabled or not func (c *Config) Enabled() bool { configLock.RLock() defer configLock.RUnlock() return c.Enable } // FrequencyDur - returns the currently configured callhome frequency func (c *Config) FrequencyDur() time.Duration { configLock.RLock() defer configLock.RUnlock() if c.Frequency == 0 { return callhomeCycleDefault } return c.Frequency }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 2.6K bytes - Click Count (0) -
internal/s3select/message.go
buf.Write(header) if payload != nil { buf.Write(payload) } message := buf.Bytes() binary.Write(buf, binary.BigEndian, crc32.ChecksumIEEE(message)) return buf.Bytes() } // Refer genRecordsHeader(). var recordsHeader = []byte{ 13, ':', 'm', 'e', 's', 's', 'a', 'g', 'e', '-', 't', 'y', 'p', 'e', 7, 0, 5, 'e', 'v', 'e', 'n', 't',
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 15.3K bytes - Click Count (0) -
internal/ioutil/read_file.go
// as an error to be reported. func ReadFileWithFileInfo(name string) ([]byte, fs.FileInfo, error) { f, err := OsOpenFile(name, readMode, 0o666) if err != nil { return nil, nil, err } defer f.Close() st, err := f.Stat() if err != nil { return nil, nil, err } dst := make([]byte, st.Size()) _, err = io.ReadFull(f, dst) return dst, st, err }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Dec 09 18:17:51 GMT 2023 - 2.3K bytes - Click Count (0) -
internal/logger/targets.go
return &targetsList{} } func (tl *targetsList) get() []Target { tl.mu.RLock() defer tl.mu.RUnlock() return tl.list } func (tl *targetsList) add(t Target) { tl.mu.Lock() defer tl.mu.Unlock() tl.list = append(tl.list, t) } func (tl *targetsList) set(tgts []Target) { tl.mu.Lock() defer tl.mu.Unlock() tl.list = tgts } var (
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 6K bytes - Click Count (0) -
cmd/admin-handlers_test.go
func testServicesCmdHandler(cmd cmdType, t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) defer cancel() adminTestBed, err := prepareAdminErasureTestBed(ctx) if err != nil { t.Fatal("Failed to initialize a single node Erasure backend for admin handler tests.", err) } defer adminTestBed.TearDown() // Initialize admin peers to make admin RPC calls. Note: In a
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.9K bytes - Click Count (1) -
cmd/local-locker.go
} // If we have too many waiting, reject this at once. if l.waitMutex.Load() > lockMutexWaitLimit { l.locksOverloaded.Add(1) return false, nil } // Wait for mutex defer l.getMutex()() if ctx.Err() != nil { return false, ctx.Err() } if !l.canTakeLock(args.Resources...) { // Not all locks can be taken on resources, // reject it completely. return false, nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12K bytes - Click Count (0) -
cmd/server-main_test.go
// Tests initializing new object layer. func TestNewObjectLayer(t *testing.T) { ctx, cancel := context.WithCancel(t.Context()) defer cancel() // Tests for ErasureSD object layer. nDisks := 1 disks, err := getRandomDisks(nDisks) if err != nil { t.Fatal("Failed to create drives for the backend") } defer removeRoots(disks) obj, err := newObjectLayer(ctx, mustGetPoolEndpoints(0, disks...)) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.1K bytes - Click Count (0) -
docs/pt/docs/tutorial/static-files.md
## Detalhes { #details } O primeiro `"/static"` refere-se ao sub-path no qual este "subaplicativo" será "montado". Assim, qualquer path que comece com `"/static"` será tratado por ele. O `directory="static"` refere-se ao nome do diretório que contém seus arquivos estáticos. O `name="static"` dá a ele um nome que pode ser usado internamente pelo **FastAPI**.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCache.java
* is meant for exclusive consumption by the model builder and is opaque to the cache implementation. The cache key is * formed by a combination of group id, artifact id, version and tag. The first three components generally refer to the * identity of a model. The tag allows for further classification of the associated data on the sole discretion of the * model builder. * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} insteadCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 2.6K bytes - Click Count (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
} /** * Test for isSameTree() method. * Verifies that the method correctly identifies if two handles refer to the same tree. */ @Test void testIsSameTree() { SmbTreeHandle anotherHandle = mock(SmbTreeHandle.class); when(smbTreeHandle.isSameTree(smbTreeHandle)).thenReturn(true);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0)