Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 1,715 for docstring (0.2 sec)

  1. cmd/postpolicyform.go

    )
    
    // toString - Safely convert interface to string without causing panic.
    func toString(val interface{}) string {
    	switch v := val.(type) {
    	case string:
    		return v
    	default:
    		return ""
    	}
    }
    
    // toLowerString - safely convert interface to lower string
    func toLowerString(val interface{}) string {
    	return strings.ToLower(toString(val))
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                    } else {
                        value = FessFunctions.parseDate(value.toString());
                    }
                } else if (integerFieldSet.contains(key)) {
                    if (value instanceof final Number num) {
                        value = num.intValue();
                    } else {
                        value = DfTypeUtil.toInteger(value.toString());
                    }
                } else if (longFieldSet.contains(key)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

                        final Boolean b = (Boolean) xObj.value();
                        buf.append(getResultDataBody(entry.getKey(), b.toString()));
                        break;
                    case NUMBER:
                        final Number d = (Number) xObj.value();
                        buf.append(getResultDataBody(entry.getKey(), d.toString()));
                        break;
                    case STRING:
                        final String str = (String) xObj.value();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractIdleService.java

                      restoreInterruptIfIsInterruptedException(t);
                      notifyFailed(t);
                    }
                  });
        }
    
        @Override
        public String toString() {
          return AbstractIdleService.this.toString();
        }
      }
    
      /** Constructor for use by subclasses. */
      protected AbstractIdleService() {}
    
      /** Start the service. */
      protected abstract void startUp() throws Exception;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

                    fun Path.isClassFilePath() =
                        toString().endsWith(".class")
    
                    private
                    fun Path.isBuildReceipt() =
                        toString() == "/org/gradle/build-receipt.properties"
    
                    private
                    fun Path.isUnseenManifestFilePath() =
                        toString() == "/${JarFile.MANIFEST_NAME}" && !seenManifest
    
                    private
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Oct 28 12:55:30 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/RecordingExecutor.kt

      }
    
      fun assertJobs(vararg expectedUrls: String) {
        val actualUrls = calls.map { it.request.url.toString() }
        assertThat(actualUrls).containsExactly(*expectedUrls)
      }
    
      fun finishJob(url: String) {
        val i = calls.iterator()
        while (i.hasNext()) {
          val call = i.next()
          if (call.request.url.toString() == url) {
            i.remove()
            dispatcherTest.dispatcher.finishedAccessor(call)
            return
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NodeStatusRequest.java

            return 0;
        }
    
    
        @Override
        int readRDataWireFormat ( byte[] src, int srcIndex ) {
            return 0;
        }
    
    
        @Override
        public String toString () {
            return new String("NodeStatusRequest[" + super.toString() + "]");
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComDeleteDirectory.java

        }
    
    
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) {
            return 0;
        }
    
    
        @Override
        public String toString () {
            return new String("SmbComDeleteDirectory[" + super.toString() + ",directoryName=" + this.path + "]");
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

          return;
        }
        fail();
      }
    
      /** An object with a friendly {@link #toString()}. */
      private static final class TestObject {
        final int group;
        final int item;
    
        TestObject(int group, int item) {
          this.group = group;
          this.item = item;
        }
    
        @Override
        public String toString() {
          return MoreObjects.toStringHelper("TestObject")
              .add("group", group)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractMultimap.java

      }
    
      /**
       * Returns a string representation of the multimap, generated by calling {@code toString} on the
       * map returned by {@link Multimap#asMap}.
       *
       * @return a string representation of the multimap
       */
      @Override
      public String toString() {
        return asMap().toString();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 6.6K bytes
    - Viewed (0)
Back to top