Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 152 for mask1b (0.17 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

            .isEqualTo("Client-sent frames must be masked.")
        }
      }
    
      @Test fun serverSentFramesMustNotBeMasked() {
        data.write("8180".decodeHex())
        assertFailsWith<ProtocolException> {
          clientReader.processNextFrame()
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("Server-sent frames must not be masked.")
        }
      }
    
      @Test fun controlFramePayloadMax() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. src/compress/bzip2/bit_reader.go

    	//      0101101101001110
    	//        ^            ^
    	//        |------------|
    	//           br.bits (num valid bits)
    	//
    	// The next line right shifts the desired bits into the
    	// least-significant places and masks off anything above.
    	n = (br.n >> (br.bits - bits)) & ((1 << bits) - 1)
    	br.bits -= bits
    	return
    }
    
    func (br *bitReader) ReadBits(bits uint) (n int) {
    	n64 := br.ReadBits64(bits)
    	return int(n64)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go

    			// check if resource is masked by *.group rule
    			anyResourceInGroup := schema.GroupResource{Group: gr.Group, Resource: "*"}
    			if _, masked := resourceToPrefixTransformer[anyResourceInGroup]; masked {
    				// an earlier rule already configured a transformer for *.group, masking this rule
    				// return error since this is not allowed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  4. src/crypto/internal/mlkem768/mlkem768.go

    		u[i] = ringDecodeAndDecompress10(b)
    	}
    
    	b := (*[encodingSize4]byte)(c[encodingSize10*k:])
    	v := ringDecodeAndDecompress4(b)
    
    	var mask nttElement // s⊺ ◦ NTT(u)
    	for i := range dx.s {
    		mask = polyAdd(mask, nttMul(dx.s[i], ntt(u[i])))
    	}
    	w := polySub(v, inverseNTT(mask))
    
    	return ringCompressAndEncode1(nil, w)
    }
    
    // fieldElement is an integer modulo q, an element of ℤ_q. It is always reduced.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  5. src/cmd/internal/test2json/testdata/framefuzz.test

        inlining_test.go:102: not in expected set, but also inlinable: "Addr.MarshalBinary"
        inlining_test.go:102: not in expected set, but also inlinable: "bePutUint64"
        inlining_test.go:102: not in expected set, but also inlinable: "mask6"
        inlining_test.go:102: not in expected set, but also inlinable: "AddrPort.isZero"
        inlining_test.go:102: not in expected set, but also inlinable: "stringsLastIndexByte"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  6. pkg/apis/networking/fuzzer/fuzzer.go

    		// generateRandomIP already panics if returns a not valid ip
    		panic(err)
    	}
    
    	n := 32
    	if is6 {
    		n = 128
    	}
    
    	bits := c.Rand.Intn(n)
    	prefix := netip.PrefixFrom(ip, bits)
    	return prefix.Masked().String()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. src/image/draw/clip_test.go

    	src0 := image.NewRGBA(image.Rect(0, 0, 100, 100))
    	mask0 := image.NewRGBA(image.Rect(0, 0, 100, 100))
    	for _, c := range clipTests {
    		dst := dst0.SubImage(c.dr).(*image.RGBA)
    		src := src0.SubImage(c.sr).(*image.RGBA)
    		r, sp, mp := c.r, c.sp, c.mp
    		if c.nilMask {
    			clip(dst, &r, src, &sp, nil, nil)
    		} else {
    			clip(dst, &r, src, &sp, mask0.SubImage(c.mr), &mp)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/ast/inspector/typeof.go

    		return 1 << nUnaryExpr
    	case *ast.ValueSpec:
    		return 1 << nValueSpec
    	}
    	return 0
    }
    
    func maskOf(nodes []ast.Node) uint64 {
    	if nodes == nil {
    		return math.MaxUint64 // match all node types
    	}
    	var mask uint64
    	for _, n := range nodes {
    		mask |= typeOf(n)
    	}
    	return mask
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      internal const val B0_FLAG_RSV3 = 16
    
      /** Byte 0 mask for the frame opcode. */
      internal const val B0_MASK_OPCODE = 15
    
      /** Flag in the opcode which indicates a control frame. */
      internal const val OPCODE_FLAG_CONTROL = 8
    
      /**
       * Byte 1 flag for whether the payload data is masked.
       *
       * If this flag is set, the next four
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            MavenProject project = new MavenProject(model);
    
            assertEquals("test-group", project.getGroupId(), "groupId proto-inheritance failed.");
            assertEquals("real-artifact", project.getArtifactId(), "artifactId is masked.");
            assertEquals("1000", project.getVersion(), "version proto-inheritance failed.");
    
            // draw the NPE.
            project.getId();
        }
    
        @Test
        void testEmptyConstructor() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top