Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 809 for zeros (1.28 sec)

  1. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

            int totalWeight = 0;
            for (ChannelInfo channel : channels) {
                totalWeight += channel.getScore();
            }
    
            if (totalWeight == 0) {
                // All channels have zero score, pick randomly
                List<ChannelInfo> list = new ArrayList<>(channels);
                return list.get(ThreadLocalRandom.current().nextInt(list.size()));
            }
    
            // Weighted random selection
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java

                }
            }
            if (filtered.isEmpty() || filtered.size() == 1) {
                // Optimization to skip streaming, distincting, and collecting to a new list when there is zero or one
                // project, aka there can't be duplicates.
                return filtered;
            }
    
            // Distinct the projects to avoid duplicates.  Duplicates are possible in multi-module projects.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 19 16:34:39 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

         */
        public SMB1SigningDigest(final byte[] macSigningKey) {
            this.digest = Crypto.getMD5();
            this.macSigningKey = macSigningKey;
        }
    
        /**
         * Construct a digest with a non-zero starting sequence number
         *
         * @param macSigningKey
         *            The MAC signing key used for generating signatures
         * @param initialSequence
         *            The initial sequence number for signing
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            // Service accessors
            assertEquals("cifs", auth.getService());
            auth.setService("");
            assertEquals("", auth.getService());
    
            // Lifetime accessors (edge: zero/negative)
            auth.setUserLifeTime(0);
            assertEquals(0, auth.getUserLifeTime());
            auth.setUserLifeTime(-1);
            assertEquals(-1, auth.getUserLifeTime());
    
            auth.setLifeTime(0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

                ArithmeticException.class,
                () -> BigDecimalMath.roundToDouble(input, UNNECESSARY));
          }
        }
      }
    
      public void testRoundToDouble_zero() {
        new RoundToDoubleTester(BigDecimal.ZERO).setExpectation(0.0, RoundingMode.values()).test();
      }
    
      public void testRoundToDouble_oneThird() {
        new RoundToDoubleTester(
                BigDecimal.ONE.divide(BigDecimal.valueOf(3), new MathContext(50, HALF_EVEN)))
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Nov 19 01:35:24 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                resultField.setAccessible(true);
                assertEquals(result, resultField.get(bind), "Result should be set from decoded value");
            }
    
            @Test
            @DisplayName("decode_out should handle non-zero result codes")
            void testDecodeOutWithError() throws Exception {
                // Given
                int errorResult = 2;
                when(mockBuffer.dec_ndr_short()).thenReturn(2048, 2048, 5, errorResult, 1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  7. internal/rest/client.go

    		// to explicitly say that the ContentLength is zero is
    		// to set the Body to nil. But turns out too much code
    		// depends on NewRequest returning a non-nil Body,
    		// so we use a well-known ReadCloser variable instead
    		// and have the http package also treat that sentinel
    		// variable to mean explicitly zero.
    		if req.GetBody != nil && req.ContentLength == 0 {
    			req.Body = http.NoBody
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

            longestRunOffset = currentRunOffset
            longestRunLength = currentRunLength
          }
          i += 2
        }
      }
    
      // Emit each 2-byte group in hex, separated by ':'. The longest run of zeroes is "::".
      val result = Buffer()
      var i = 0
      while (i < address.size) {
        if (i == longestRunOffset) {
          result.writeByte(':'.code)
          i += longestRunLength
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. tensorflow/c/c_test_util.cc

    void Split3Helper(TF_Operation* input, TF_Graph* graph, TF_Status* s,
                      const char* name, TF_Operation** op) {
      TF_Operation* zero =
          ScalarConst(0, graph, s, absl::StrCat(name, "_const0").c_str());
      TF_OperationDescription* desc = TF_NewOperation(graph, "Split", name);
      TF_AddInput(desc, {zero, 0});
      TF_AddInput(desc, {input, 0});
      TF_SetAttrInt(desc, "num_split", 3);
      TF_SetAttrType(desc, "T", TF_INT32);
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat Oct 04 05:55:32 UTC 2025
    - 17.8K bytes
    - Viewed (1)
  10. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

        }
    
        @Test
        void testShareInfo0DecodeWithNonNullNetname() throws NdrException {
            srvsvc.ShareInfo0 shareInfo0 = new srvsvc.ShareInfo0();
    
            when(mockNdrBuffer.dec_ndr_long()).thenReturn(1); // non-zero pointer
            when(mockDeferredBuffer.dec_ndr_string()).thenReturn("DecodedShare");
    
            shareInfo0.decode(mockNdrBuffer);
    
            assertEquals("DecodedShare", shareInfo0.netname);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top