Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 342 for startswith (0.05 sec)

  1. tensorflow/api_template_v1.__init__.py

    # Find the location of this exact file.
    _current_file_location = _inspect.getfile(_inspect.currentframe())
    
    def _running_from_pip_package():
      return any(
          _current_file_location.startswith(dir_) for dir_ in _site_packages_dirs)
    
    if _running_from_pip_package():
      # TODO(gunan): Add sanity checks to loaded modules here.
    
      # Load first party dynamic kernels.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

            bytesRemainingInChunk = socket.source.readHexadecimalUnsignedLong()
            val extensions = socket.source.readUtf8LineStrict().trim()
            if (bytesRemainingInChunk < 0L || extensions.isNotEmpty() && !extensions.startsWith(";")) {
              throw ProtocolException(
                "expected chunk size and optional extensions" +
                  " but was \"$bytesRemainingInChunk$extensions\"",
              )
            }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
  3. src/test/java/jcifs/util/PathValidatorTest.java

        @Test
        public void testValidSmbUrl() throws Exception {
            String url = "smb://server/share/folder/file.txt";
            String normalized = validator.validateSmbUrl(url);
            assertTrue(normalized.startsWith("smb://"));
            assertTrue(normalized.contains("server"));
            assertTrue(normalized.contains("/share/folder/file.txt") || normalized.contains("\\share\\folder\\file.txt"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

                if (pair == null) {
                    pair = new Pair<>(new HashMap<>(), new ArrayList<>());
                    relatedContentMap.put(key, pair);
                }
                if (entity.getTerm().startsWith(regexPrefix)) {
                    final String regex = entity.getTerm().substring(regexPrefix.length());
                    if (StringUtil.isBlank(regex)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            String str = info.toString();
    
            // Verify string contains expected elements
            assertNotNull(str);
            assertTrue(str.startsWith("SmbQueryFileBasicInfo["));
            assertTrue(str.contains("createTime="));
            assertTrue(str.contains("lastAccessTime="));
            assertTrue(str.contains("lastWriteTime="));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                    throw sae;
                } catch (final SmbException se) {
                    fp = 0L;
                }
            }
            if (file instanceof SmbNamedPipe && file.unc.startsWith("\\pipe\\")) {
                file.unc = file.unc.substring(5);
                file.send(new TransWaitNamedPipe("\\pipe" + file.unc), new TransWaitNamedPipeResponse());
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

          for (index in 0 until cachedHeaders.size) {
            val fieldName = cachedHeaders.name(index)
            val value = cachedHeaders.value(index)
            if ("Warning".equals(fieldName, ignoreCase = true) && value.startsWith("1")) {
              // Drop 100-level freshness warnings.
              continue
            }
            if (isContentSpecificHeader(fieldName) ||
              !isEndToEnd(fieldName) ||
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO);
    
            String result = response.toString();
    
            assertNotNull(result);
            assertTrue(result.startsWith("Trans2QueryPathInformationResponse["));
            assertTrue(result.endsWith("]"));
        }
    
        @Test
        @DisplayName("Test readDataWireFormat with partial buffer")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/Kerb5ContextTest.java

        void toString_notEstablished() throws Exception {
            when(gssContext.isEstablished()).thenReturn(false);
            String s = ctx.toString();
            assertTrue(s.startsWith("KERB5["));
            assertTrue(s.contains("src=null"));
        }
    
        @Test
        @DisplayName("toString shows names and mech when established")
        void toString_established_ok() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

                  out.writeByte(0x40)
                  writeByteString(name)
                  writeByteString(value)
                  insertIntoDynamicTable(header)
                }
                name.startsWith(Header.PSEUDO_PREFIX) && TARGET_AUTHORITY != name -> {
                  // Follow Chromes lead - only include the :authority pseudo header, but exclude all other
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
Back to top