Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1631 - 1640 of 1,808 for onlyIf (0.04 sec)

  1. tensorflow/c/c_api.cc

          if (!status->status.ok()) {
            // Contract is we always delete input_values[i].
            return false;
          }
          // Note: session->session is not modified if Extend() fails, so
          // we only set last_num_graph_nodes if it succeeds.
          session->last_num_graph_nodes = num_nodes;
        } else {
          session->graph->mu.unlock();
        }
      }
      return true;
    }
    
    }  // namespace tensorflow
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	query.Set("X-Amz-Expires", strconv.FormatInt(expires, 10))
    	query.Set("X-Amz-SignedHeaders", "host")
    	query.Set("X-Amz-Credential", credential)
    	query.Set("X-Amz-Content-Sha256", unsignedPayload)
    
    	// "host" is the only header required to be signed for Presigned URLs.
    	extractedSignedHeaders := make(http.Header)
    	extractedSignedHeaders.Set("host", req.Host)
    
    	queryStr := strings.ReplaceAll(query.Encode(), "+", "%20")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                assertEquals(buffer.size(), bytesEncoded);
                assertEquals(4 + 2 * path.length(), bytesEncoded);
            }
    
            @Test
            @DisplayName("Should handle path with only backslashes")
            void testPathWithOnlyBackslashes() {
                String path = "\\\\\\\\\\\\";
                buffer = new DfsReferralRequestBuffer(path, 2);
    
                byte[] dst = new byte[buffer.size()];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            boolean port139Failover = delegatingConfig.isPort139FailoverEnabled();
            boolean dfsStrictView = delegatingConfig.isDfsStrictView();
    
            // Then
            assertTrue(smb2Only, "Should delegate SMB2 only negotiation");
            assertFalse(secureNegotiate, "Should delegate secure negotiate requirement");
            assertTrue(ntlmTargetName, "Should delegate NTLM target name setting");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

                buffer[i] = (byte) (i % 256);
            }
    
            int offset = 50;
            trans2QueryFSInfo.writeParametersWireFormat(buffer, offset);
    
            // Check that only the 2 bytes at offset were modified
            for (int i = 0; i < offset; i++) {
                assertEquals((byte) (i % 256), buffer[i], "Buffer before offset should be unchanged");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            // Should report 26 bytes written (20 from encode + 6 increment)
            assertEquals(26, written);
    
            // Check that padding bytes are zeros
            // The implementation writes 8 bytes with writeInt8 but only increments by 6
            // This means bytes 20-27 will be zero (8 bytes written by writeInt8)
            for (int i = 20; i < 28; i++) {
                assertEquals(0, buffer[i], "Padding byte at position " + i + " should be 0");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

        }
    
        /**
         * Gets or creates the SPNEGO authenticator instance.
         *
         * This method implements lazy initialization with synchronization to ensure
         * the authenticator is only created once. It configures the authenticator
         * with the appropriate SPNEGO settings and marks initialization as complete.
         *
         * @return The configured SPNEGO authenticator instance
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 17.2K bytes
    - Viewed (3)
  8. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

                      return i;
                    }
                  }
                  throw new IllegalArgumentException(
                      "Map.values generator can order only sample values");
                }
              });
          return insertionOrder;
        }
    
        @Override
        public OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> getInnerGenerator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Functions.java

      /**
       * Creates a function that returns the same boolean output as the given predicate for all inputs.
       *
       * <p>The returned function is <i>consistent with equals</i> (as documented at {@link
       * Function#apply}) if and only if {@code predicate} is itself consistent with equals.
       *
       * <p>Prefer to use the method reference {@code predicate::test} instead. Note that it is not
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NbtAddressTest.java

            NbtAddress nbtAddress3 = new NbtAddress(mockName3, 0xC0A80102, false, NbtAddress.H_NODE); // Different address
    
            assertTrue(nbtAddress1.equals(nbtAddress2)); // Should be true as only address is compared
            assertFalse(nbtAddress1.equals(nbtAddress3));
            assertFalse(nbtAddress1.equals(null));
            assertFalse(nbtAddress1.equals("some string"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
Back to top