Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 88 for discord (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

     * source is helpful, such as when doing so completes a cache body or frees a socket connection for
     * reuse.
     */
    internal fun Source.discard(
      timeout: Int,
      timeUnit: TimeUnit,
    ): Boolean =
      try {
        this.skipAll(timeout, timeUnit)
      } catch (_: IOException) {
        false
      }
    
    internal fun Socket.peerName(): String {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  2. docs/pt/docs/async.md

    * dados do cliente para serem enviados através da rede
    * dados enviados pelo seu programa para serem recebidos pelo clente através da rede
    * conteúdo de um arquivo no disco pra ser lido pelo sistema e entregar ao seu programa
    * conteúdo que seu programa deu ao sistema para ser escrito no disco
    * uma operação remota API
    * uma operação no banco de dados para finalizar
    * uma solicitação no banco de dados esperando o retorno do resultado
    * etc.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  3. gradlew

        case $link in             #(
          /*)   app_path=$link ;; #(
          *)    app_path=$APP_HOME$link ;;
        esac
    done
    
    # This is normally unused
    # shellcheck disable=SC2034
    APP_BASE_NAME=${0##*/}
    # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
    APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
    
    # Use the maximum available, or set MAX_FD != -1 to use that value.
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  4. cni/pkg/install/install.go

    		// We don't support (or want) to silently (re)deploy any binaries that were not in the initial "snapshot"
    		// so we intentionally discard/do not update the list of installedBins on redeploys.
    		if _, err := in.installAll(ctx); err != nil {
    			return err
    		}
    		installLog.Info("Istio CNI configuration and binaries validated/reinstalled.")
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  5. cmd/erasure-object_test.go

    			t.Errorf("Expected GetObject to fail with %v, but failed with %v", toObjectErr(errErasureReadQuorum, bucket, object), err)
    		}
    	}
    	if gr != nil {
    		_, err = io.Copy(io.Discard, gr)
    		if err != toObjectErr(errErasureReadQuorum, bucket, object) {
    			t.Errorf("Expected GetObject to fail with %v, but failed with %v", toObjectErr(errErasureReadQuorum, bucket, object), err)
    		}
    		gr.Close()
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  6. internal/etag/etag_test.go

    	},
    }
    
    func TestReader(t *testing.T) {
    	for i, test := range readerTests {
    		reader := NewReader(context.Background(), strings.NewReader(test.Content), test.ETag, nil)
    		if _, err := io.Copy(io.Discard, reader); err != nil {
    			t.Fatalf("Test %d: read failed: %v", i, err)
    		}
    		if ETag := reader.ETag(); !Equal(ETag, test.ETag) {
    			t.Fatalf("Test %d: ETag mismatch: got %q - want %q", i, ETag, test.ETag)
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  7. src/archive/zip/reader_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	for i, f := range z.File {
    		r, err := f.Open()
    		if err != nil {
    			continue
    		}
    		if f.UncompressedSize64 < 1e6 {
    			n, err := io.Copy(io.Discard, r)
    			if i == 3 && err != io.ErrUnexpectedEOF {
    				t.Errorf("File[3] error = %v; want io.ErrUnexpectedEOF", err)
    			}
    			if err == nil && uint64(n) != f.UncompressedSize64 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/podcgroupns.go

    	// beforehand.  CAUTION: we used to verify that the pod and container id were
    	// descendants of a kubepods directory, however, as of Kubernetes 1.21, cgroups
    	// namespaces are in use and therefore we can no longer discern if that is the
    	// case from within SPIRE agent container (since the container itself is
    	// namespaced). As such, the regex has been relaxed to simply find the pod UID
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  9. cmd/peer-rest-server.go

    	for m := range re {
    		if err := enc.Encode(m); err != nil {
    			s.writeErrorResponse(w, errors.New("Encoding mrf failed: "+err.Error()))
    			return
    		}
    	}
    }
    
    // DevNull - everything goes to io.Discard
    func (s *peerRESTServer) DevNull(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		s.writeErrorResponse(w, errors.New("invalid request"))
    		return
    	}
    
    	globalNetPerfRX.Connect()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

            return delegate.calculateLifecycleMappings(session, project, lifecycle, lifecyclePhase);
        }
    
        /**
         * Post-processes the effective configuration for the specified mojo execution. This step discards all parameters
         * from the configuration that are not applicable to the mojo and injects the default values for any missing
         * parameters.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 26.3K bytes
    - Viewed (0)
Back to top