Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 295 for colons (2.8 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

          .build()
      private val callback = RecordingCallback()
      private val cache =
        Cache(
          fileSystem = LoggingFilesystem(fileSystem),
          directory = "/cache".toPath(),
          maxSize = Int.MAX_VALUE.toLong(),
        )
    
      @BeforeEach
      fun setUp() {
        platform.assumeNotOpenJSSE()
      }
    
      @AfterEach
      fun tearDown() {
        cache.close()
        fileSystem.checkNoOpenFiles()
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            Mockito.when(mockCredentials.unwrap(jcifs.smb.CredentialsInternal.class)).thenReturn(mockCredentialsInternal);
            Mockito.when(mockCredentialsInternal.clone()).thenReturn(mockCredentialsInternal);
            Mockito.when(mockConfig.getSessionLimit()).thenReturn(10);
    
            // Clear buffer cache for consistent test results
            BufferCache.clearCache();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/custom-response.md

        Então, é uma função geradora que transfere o trabalho de "geração" para alguma outra coisa interna.
    
        Fazendo dessa forma, podemos colocá-la em um bloco `with`, e assim garantir que o objeto semelhante a um arquivo é fechado quando a função termina.
    
    /// tip | Dica
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. tests/generics_test.go

    	} else if len(langs) != 1 {
    		t.Errorf("should only find only 1 languages, but got %+v", langs)
    	}
    
    	lang3 := Language{Code: "upsert", Name: "Upsert"}
    	if err := gorm.G[Language](DB, clause.OnConflict{
    		Columns:   []clause.Column{{Name: "code"}},
    		DoUpdates: clause.Assignments(map[string]interface{}{"name": "upsert-new"}),
    	}).Create(ctx, &lang3); err != nil {
    		t.Fatalf("failed to upsert, got %v", err)
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

        public List<Restriction> getRestrictions() {
            return restrictions;
        }
    
        /**
         * @deprecated VersionRange is immutable, cloning is not useful and even more an issue against the cache
         * @return a clone
         */
        @Deprecated
        public VersionRange cloneOf() {
            List<Restriction> copiedRestrictions = null;
    
            if (restrictions != null) {
                copiedRestrictions = new ArrayList<>();
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 19K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

         *
         * @throws NumberFormatException if [s] is not an integer of any precision.
         */
        private fun parseMaxAge(s: String): Long {
          try {
            val parsed = s.toLong()
            return if (parsed <= 0L) Long.MIN_VALUE else parsed
          } catch (e: NumberFormatException) {
            // Check if the value is an integer (positive or negative) that's too big for a long.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

                    var bytesWritten: Long = 0
                    while (bytesWritten < contentLength) {
                      val byteCount = Math.min(buffer.size.toLong(), contentLength - bytesWritten).toInt()
                      bytesWritten += byteCount.toLong()
                      sink.write(buffer, 0, byteCount)
                    }
                  }
                },
            ),
          )
        assertContent("", response)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

                while (++i < limit) {
                  if (input[i] == ']') break
                }
              }
              ':' -> return i
            }
            i++
          }
          return limit // No colon.
        }
    
        private fun parsePort(
          input: String,
          pos: Int,
          limit: Int,
        ): Int =
          try {
            // Canonicalize the port string to skip '\n' etc.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  9. cmd/batch-rotate.go

    		VersionSuspended: versionSuspended,
    		NoLock:           true,
    	}
    	obj, err := api.GetObjectInfo(ctx, r.Bucket, objInfo.Name, opts)
    	if err != nil {
    		return err
    	}
    	oi := obj.Clone()
    	var (
    		newKeyID      string
    		newKeyContext kms.Context
    	)
    	encMetadata := make(map[string]string)
    	for k, v := range oi.UserDefined {
    		if stringsHasPrefixFold(k, ReservedMetadataPrefixLower) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/ExecJobTest.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.Properties;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.TimeUnit;
    import java.util.regex.Pattern;
    
    import org.apache.commons.io.FileUtils;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.timer.TimeoutManager;
    import org.codelibs.core.timer.TimeoutTask;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.helper.JobHelper;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
Back to top