Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 298 for protection (0.23 seconds)

  1. .github/workflows/build-docs.yml

              path: ./site/**
              include-hidden-files: true
    
      # https://github.com/marketplace/actions/alls-green#why
      docs-all-green:  # This job does nothing and is only used for the branch protection
        if: always()
        needs:
          - build-docs
        runs-on: ubuntu-latest
        steps:
          - name: Decide whether the needed jobs succeeded or failed
            uses: re-actors/alls-green@release/v1
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 14 15:01:34 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  2. cmd/xl-storage-format-v1.go

    		return false
    	}
    	for i, ecindex := range ei.Distribution {
    		if ecindex != nei.Distribution[i] {
    			return false
    		}
    	}
    	return true
    }
    
    // BitrotAlgorithm specifies a algorithm used for bitrot protection.
    type BitrotAlgorithm uint
    
    const (
    	// SHA256 represents the SHA-256 hash function
    	SHA256 BitrotAlgorithm = 1 + iota
    	// HighwayHash256 represents the HighwayHash-256 hash function
    	HighwayHash256
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Oct 22 15:30:50 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Pre-authentication Integrity Negotiate Context.
     *
     * This negotiate context is used in SMB 3.1.1 to establish
     * pre-authentication integrity protection against downgrade attacks.
     *
     * @author mbechler
     */
    public class PreauthIntegrityNegotiateContext implements NegotiateContextRequest, NegotiateContextResponse {
    
        /**
         * Context type
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Challenge.kt

       * strings. The map's keys are lowercase and should be treated case-insensitively.
       */
      @get:JvmName("authParams")
      val authParams: Map<String?, String>
    
      /** Returns the protection space. */
      @get:JvmName("realm")
      val realm: String?
        get() = authParams["realm"]
    
      /** The charset that should be used to encode the credentials. */
      @get:JvmName("charset")
      val charset: Charset
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 15:01:35 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  5. .github/workflows/test.yml

              include-hidden-files: true
          - run: uv run coverage report --fail-under=100
    
      # https://github.com/marketplace/actions/alls-green#why
      check:  # This job does nothing and is only used for the branch protection
        if: always()
        needs:
          - coverage-combine
          - benchmark
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Security-focused test cases for BufferCache to verify buffer overflow protection.
     */
    public class BufferCacheSecurityTest {
    
        /**
         * Test that buffer allocation validates size to prevent overflow.
         */
        @Test
        public void testBufferSizeValidation() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  7. cmd/bitrot.go

    func bitrotWriterSum(w io.Writer) []byte {
    	if bw, ok := w.(*wholeBitrotWriter); ok {
    		return bw.Sum(nil)
    	}
    	return nil
    }
    
    // Returns the size of the file with bitrot protection
    func bitrotShardFileSize(size int64, shardSize int64, algo BitrotAlgorithm) int64 {
    	if algo != HighwayHash256S {
    		return size
    	}
    	return ceilFrac(size, shardSize)*int64(algo.New().Size()) + size
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  8. docs/distributed/DESIGN.md

    > http://host1/export7
    > http://host2/export7
    > http://host1/export8
    > http://host2/export8
    ```
    
    *A noticeable trait of this expansion is that it chooses unique hosts such the setup provides maximum protection and availability.*
    
    - Choosing an erasure set for the object is decided during `PutObject()`, object names are used to find the right erasure set using the following pseudo code.
    
    ```go
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 26 09:25:50 GMT 2025
    - 8K bytes
    - Click Count (2)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

         */
        protected int max_recv = max_xmit;
        /**
         * The current state of the DCERPC connection
         */
        protected int state = 0;
        /**
         * The security provider for authentication and message protection
         */
        protected DcerpcSecurityProvider securityProvider = null;
        private static int call_id = 1;
    
        /**
         * Gets a DCERPC handle for the specified URL and authentication
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/util/SmbCircuitBreaker.java

                    dynamicThresholdEnabled, backpressureEnabled);
        }
    
        /**
         * Execute an operation with circuit breaker protection
         *
         * @param <T> return type
         * @param operation the operation to execute
         * @return operation result
         * @throws CIFSException if circuit is open or operation fails
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 33.4K bytes
    - Click Count (0)
Back to Top